03.05.2017, 07:37
http://prntscr.com/f3inkr and yea i got this now ..
Код:
if(PlayerInfo[playerid][pGameMaster] >= 1) { new sg1[128]; new hour,minuite,second,AdminDolznost; AdminDolznost = gettime(hour,minuite,second); printf("%02d:%02d:%02d", hour, minuite, second); printf("Bevte na dolznost %d", AdminDolznost); GameMasterDuty[playerid] = gettime(); GetPlayerName(playerid,sg1,MAX_PLAYER_NAME); SetPlayerColor(playerid,COLOR_DBLUE); SetPlayerHealth(playerid,999); SetPlayerArmour(playerid,999); SetPlayerSkin(playerid, 217); format(sg1,sizeof(sg1),"{f79d27}ScorpionWorld RolePlay | {FFFFFF}GameMaster %s e na dolznost. | %02d:%02d:%02d ",sg1,(AdminDolznost / 60)); SendClientMessageToAll(COLOR_WHITE,sg1); }
Код:
if(PlayerInfo[playerid][pGameMaster] >= 1) { new sg1[128]; new hour,minuite,second,AdminDolznost; AdminDolznost = gettime(hour,minuite,second); printf("%02d:%02d:%02d", hour, minuite, second); printf("Bevte na dolznost %d", AdminDolznost); GameMasterDuty[playerid] = 0; gettime() - GameMasterDuty[playerid]; GetPlayerName(playerid,sg1,MAX_PLAYER_NAME); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,0); SetPlayerColor(playerid,COLOR_WHITE); new originalskin = PlayerInfo[playerid][pChar]; SetPlayerSkin(playerid, originalskin); format(sg1,sizeof(sg1),"{f79d27}ScorpionWorld RolePlay | {FFFFFF}GameMaster %s vekje ne e na dolznost. | %02d:%02d:%02d ",sg1,AdminDolznost); SendClientMessageToAll(COLOR_WHITE,sg1); }