26.07.2014, 01:18
Alright let me try...
Edit: It's not working
By the way, i have this wristwatch command
Edit: It's not working

Код:
CMD:wristwatch(playerid, params[]) { if(PlayerInfo[playerid][pWristwatch] > 0) { new string[128]; if(GetPVarInt(playerid, "wristwatchonoff") == 0) { SetPVarInt(playerid, "wristwatchonoff", 1); new hour,minuite,second; gettime(hour,minuite,second); FixHour(hour); hour = shifthour; if(minuite < 10) { format(string, sizeof(string), "%d:0%d", hour, minuite); } else { format(string, sizeof(string), "%d:%d", hour, minuite); } TextDrawShowForPlayer(playerid, WristWatch); format(string, sizeof(string), "* %s turns on their wristwatch.", GetPlayerNameEx(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { KillTimer(GetPVarInt(playerid, "wristwatchtimer")); TextDrawHideForPlayer(playerid, WristWatch); DeletePVar(playerid, "wristwatchonoff"); format(string, sizeof(string), "* %s turns off their wristwatch.", GetPlayerNameEx(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } else { SendClientMessageEx(playerid, COLOR_GRAD1, "You don't have a wristwatch!"); } return 1; }