13.03.2014, 08:58
I am coding a Cop team for a gamemode i'm creating, but when I compile it im getting the error:
This is my code at the top:
And my code that its giving the error at:
Could somebody help please?
Код:
C:\Users\Ciaran\Desktop\CopChase.pwn(201) : error 036: empty statement Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
new gTeam[MAX_PLAYERS]; #define TEAM_COP 1 #define TEAM_ROB 2 #define TEAM_NORMAL 3
Код:
if(strcmp(cmdtext,"/copcar",true) == 0) { if(gTeam[playerid] == TEAM_COP); //This line is where the error is occurring. Line 201. new Float:X; new Float:Y; new Float:Z; GetPlayerPos(playerid,X,Y,Z); SendClientMessage(playerid, 0, "{126F94}A San Fierro Police car has been spawned next to you."); CreateVehicle(597,X,Y+5,Z,1,0,1,90000); return 1; }