06.01.2011, 18:30
To com esse erro na hora que compilo o gm nгo sei pq ta dando se alguem poder ajudar agradeзo
>> linha 241 error 017: undefined symbol "RandomSpawns"
>> linha 241 error 029: invalid expression, assumed zero
>> linha 241 warning 215: expression has no effect
>>linha 242 error 017: undefined symbol "RandomSpawns"
>> linha 242 warning 215: expression has no effect
>> linha 242 error 001: expected token: ";", but found "]"
>> linha 242 error 029: invalid expression, assumed zero
Код:
public OnPlayerSpawn(playerid) { >>linha 241 new rand = random(sizeof(RandomSpawns)); >>linha 242 SetPlayerPos(playerid, RandomSpawns[rand][0], RandomSpawns[rand][1], RandomSpawns[rand][2]); return 1; }
>> linha 241 error 029: invalid expression, assumed zero
>> linha 241 warning 215: expression has no effect
>>linha 242 error 017: undefined symbol "RandomSpawns"
>> linha 242 warning 215: expression has no effect
>> linha 242 error 001: expected token: ";", but found "]"
>> linha 242 error 029: invalid expression, assumed zero