- 0
Help
-
Similar Content
-
- 2 answers
- 879 views
-
- 4 replies
- 446 views
-
- 5 replies
- 330 views
-
- 2 answers
- 368 views
-
- 6 replies
- 901 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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>
Link to comment
Share on other sites
6 answers to this question
Recommended Posts