Quote:
Originally Posted by HazardouS
Zone[TEAM_GROVE]0 = GangZoneCreate(MinX, MinX, MaxX, MaxY);
must be
Zone[TEAM_GROVE] = GangZoneCreate(MinX, MinX, MaxX, MaxY);
You have an extra '0' right before the '=' which doesn't belong there.
Also, next time please specify the line numbers, it's easier for us to debug your code.
|
C:\Users\mitaka\Desktop\trufove.pwn(173) : error 029: invalid expression, assumed zero
C:\Users\mitaka\Desktop\trufove.pwn(174) : error 029: invalid expression, assumed zero
C:\Users\mitaka\Desktop\trufove.pwn(193) : error 029: invalid expression, assumed zero
C:\Users\mitaka\Desktop\trufove.pwn(197) : error 029: invalid expression, assumed zero
C:\Users\mitaka\Desktop\trufove.pwn(197) : error 029: invalid expression, assumed zero
C:\Users\mitaka\Desktop\trufove.pwn(205) : error 029: invalid expression, assumed zero
C:\Users\mitaka\Desktop\trufove.pwn(214) : error 029: invalid expression, assumed zero
C:\Users\mitaka\Desktop\trufove.pwn(223) : error 029: invalid expression, assumed zero
Line 173, 174:
Zone[TEAM_GROVE] = GangZoneCreate(MinX, MinX, MaxX, MaxY);
CP[TEAM_GROVE] = CreateDynamicCP(X,Y,Z, 2153.4033,-996.3683,32.1258,351.7026,0,0,0,0,0,0, 100.0);
Line 193-197
SetPlayerMapIcon(playerid, 2, X,Y,Z, 19, MAPICON_GLOBAL);
GangZoneShowForAll(Zone[TEAM_GROVE], 0x00000043);
IsPlayerCapturing[playerid][TEAM_GROVE] = 0;
CountVar[playerid][TEAM_GROVE] = 25;
if(tCP[TEAM_GROVE] == NONE) GangZoneShowForAll(Zone[Grove], -66);
Line 205-214
if(Captured[playerid][GROVE] == 0 && IsPlayerCapturing[playerid][GROVE] == 1)
{
LeavingCAPZONE(playerid);
}
return 1;
}
public OnPlayerSpawn(playerid)
{
if(Captured[playerid][GROVE] == 0 && IsPlayerCapturing[playerid][GROVE] == 1)
Line 223
if(Captured[playerid][GROVE] == 0 && IsPlayerCapturing[playerid][GROVE] == 1)
Please help and thanks very much !!!