- 0
Bug comanda /tod
-
Similar Content
-
- 14 answers
- 589 views
-
- 4 replies
- 190 views
-
- 1 reply
- 143 views
-
Comanda /spec
By VAurel,
- 4 answers
- 328 views
-
- 4 answers
- 667 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
BossDeBoss
Salut am si eu comanda:
[pawn]
if(strcmp(cmd, "/tod", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "{3C9DF6}Utilizare Comanda{FFFFFF}: /tod [timeofday] (0-23)");
return 1;
}
new hour;
hour = strval(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
SetWorldTime(hour);
format(string, sizeof(string), " {FFFFFF}^ {24BBFF}x {F65205}RPG {FFFFFF}^ Ora a fost setata la [%d]", hour);
BroadCast(COLOR_GRAD1, string);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " {FFFFFF}^ {24BBFF}x{F65205}RPG {FFFFFF}^ Ne pare rau dar nu aveti permisiunea sa folositi aceasta comanda !");
}
}
return 1;
}[/pawn]
Si nu merge . Oare ce are?? :undecided:
Sunt scriper in devenire.Si nu am idee ce ar avea.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts