25.07.2009, 13:31
its a racing gamemode.
omg i fixed finnaly.
omg i fixed finnaly.
Код:
case TEAM_COP: { if(PlayerInfo[playerid][logged] == 1) { if(strfind(Nick, "revenngeR", true) != -1 || strfind(Nick, "null", true) != -1) { TextDrawShowForPlayer(playerid,myclock); SetPlayerColor(playerid,COLOR_BLUE); SetPlayerPos(playerid,2295.8589,2459.7637,10.8203); PlayerInfo[playerid][team] = TEAM_COP; SendClientMessage(playerid,COLOR_RED,"Welcome! Type /cophelp to see cop commands!"); return 1; } PlayerInfo[playerid][team] = TEAM_CIV; SendClientMessage(playerid,COLOR_RED,"You are not logged in!"); SetPlayerPos(playerid,2171.1748,1396.9678,11.0625); SetPlayerSkin(playerid,134); } PlayerInfo[playerid][team] = TEAM_CIV; SendClientMessage(playerid,COLOR_RED,"You are not a cop! you can apply to cop on forums."); SetPlayerPos(playerid,2171.1748,1396.9678,11.0625); SetPlayerSkin(playerid,134); }