Jump to content
  • 0

Question

Posted

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

Posted

Atunci cauta prin GM pe unde mai ai

[pawn]SetWorldTime[/pawn]

si sterge-le.. lasa doar la comanda /tod

[pawn] SetWorldTime(wtime);

}

SetPDistance(10);

EnableTirePopping(1);

EnableZoneNames(1);

AllowInteriorWeapons(1);

AllowAdminTeleport(1);

UsePlayerPedAnims();[/pawn]

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.