- 0
Bug comanda /tod
-
Similar Content
-
- 2 replies
- 2.003 views
-
- 1 answer
- 449 views
-
- 7 replies
- 638 views
-
- 10 answers
- 3.224 views
-
- 2 answers
- 1.044 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.
8 answers to this question
Recommended Posts