17.01.2013, 18:19
Hello, i was making a gangzone turf wars for my gm i applied a condition here
But Server acctually refusses the condition "if(gTeam[playerid] == tCP[GZONE]) return SendClientMessage(playerid,0xFFFFFF,"This turf is already captured by your team.");"
Any help?
Quote:
public OnPlayerEnterDynamicCP(playerid, checkpointid) { if(checkpointid == Checkpoint[GZONE]) { if(gTeam[playerid] == tCP[GZONE]) return SendClientMessage(playerid,0xFFFFFF,"This turf is already captured by your team."); timer[playerid][GZONE] = SetTimerEx("SetZone",30000,false,"i",playerid); SendClientMessage(playerid,0xFFFFFF,"Wait for 45 sec to take over the Turf "); iCP[playerid] = GZONE; } |
Any help?