Help me
#1

Quote:

case 2:
{
randomspawn = random(sizeof(gAfghanistanSpawn));
SetPlayerPos(playerid, gAfghanistanSpawn[randomspawn][0], gAfghanistanSpawn[randomspawn][1], gAfghanistanSpawn[randomspawn][2]);
SetPlayerFacingAngle(playerid, gAfghanistan[randomspawn][3]); // this is 2617
}

Please Help me fix the following :
C:\Call Of Duty -\gamemodes\test123.pwn(2617) : error 017: undefined symbol "gAfghanistan"
C:\Call Of Duty -\gamemodes\test123.pwn(2617) : warning 215: expression has no effect
C:\Call Of Duty -\gamemodes\test123.pwn(2617) : error 001: expected token: ";", but found "]"
C:\Call Of Duty -\gamemodes\test123.pwn(2617) : error 029: invalid expression, assumed zero
C:\Call Of Duty -\gamemodes\test123.pwn(2617) : fatal error 107: too many error messages on one line
Reply
#2

"gAfghanistanSpawn" is not defined you have to define it, the error is self explanatory
Reply
#3

Can u fix the code for me please! other teams got the same code they work fine but this one doesnt
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)