- 0
Help
-
Similar Content
-
- 0 answers
- 559 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
RobertN
Salut. Am facut o comanda dar e gresit ceva si nu stiu ce .
[pawn]if(strcmp(cmd, "/event", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new text;
text = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: /event [DenumireEvent]");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
for(new i = 0; i <= MAX_PLAYERS; i ++)
{
format(string, sizeof(string), "{FF0000}%s{FFFFFF} face event %d /w pentru tp !",sendername,text);
SendClientMessage(i, COLOR_LIGHTRED, string);
}
}
return 1;
}[/pawn]
Cand scriu /event Deagle arata de ex: Nume face event "0" /w pentru tp , nu stiu de ce apare 0 , cum fac sa poata apara ce scriu eu ?
Sper sa ma ajutati, sunt mai la inceput ;)
<3 FCP 3>
6 answers to this question
Recommended Posts