12.01.2015, 02:06
i don't understand tutorial for time stamp.
How to make if player not typed /rudnik command 2hours server give him quitjob ??
Here is the command
Tutorial from there:https://sampforum.blast.hk/showthread.php?tid=254915
I don't understand that tutorial clearly,because english is not my mother language.
How to make if player not typed /rudnik command 2hours server give him quitjob ??
Here is the command
Код:
YCMD:rudnik(playerid, params[], help) { #pragma unused params if(help) return SCM(playerid, COLOR_GREY, "Not supported"); if(PlayerInfo[playerid][pJob] == 25) { if(UzeoOpremu[playerid] == 0) return SCM(playerid, COLOR_GREY, "Morate prvo uzeti opremu u kucici na vrhu rudnika!"); if(IsPlayerInRangeOfPoint(playerid, 350, 604.7141,867.4781,-40.2878)) { if(NaPoslu[playerid] == 1) return SCM(playerid, COLOR_WHITE, "** Vec ste na poslu."); SetPlayerCheckpoint(playerid, 551.3589,852.8019,-42.5268, 5.0); CP[playerid] = 2; NaPoslu[playerid] = 1; SCM(playerid, COLOR_WHITE, "Idi do CheckPoint-a i pocni da kopas"); } } else SCM(playerid, COLOR_GRAD1, "{EA0C0C}[ERROR]{FFFFFF}Moras biti rudar da bi mogao raditi u rudniku!"); return 1; }
I don't understand that tutorial clearly,because english is not my mother language.