15.03.2012, 09:07
Can Someone help me ?
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/time", cmdtext, true, 10) == 0) { SetPlayerTime(playerid,0,0); return 1; } return 0; }
https://sampwiki.blast.hk/wiki/SetPlayerTime
Something I made quickly with pawno as an example: Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/time", cmdtext, true, 10) == 0) { SetPlayerTime(playerid,0,0); return 1; } return 0; } |
SetWorldTime(0);