Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:ann(playerid, params[])
- {
- if(sscanf(params, "s[80]", params[0])) return SendClientMessage(playerid, -1, "[Example] : /Ann [Text]"); // > sscanf של s - string , הגדרנו ש params[0] = ל Text ;
- format(str,sizeof(str), "%s",params[0]); // > Format של ה params[0] , בעצם שואב לתוך פורמט , את מה שאתה מקליד ב params[0];
- GameTextForAll(str,5000,3);// > זה יוצר GameTextForPlayer , עם ה str , ש str זה בעצם מה שהגדרנו , "%s" = params[0]'
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement