01.05.2010, 09:30
I`m currently trying to do a respawn command, to respawn all the vehicles. The problem is that I get this error: error 021: symbol already defined: "i"
code:
I`ve tried to delete the "new" and use only "for(i=0 ..." but if I do that way I get two errors, on the same line, that "i" it`s not defined. Some help please?
code:
Код:
dcmd_respawncars(playerid, params[]) { #pragma unused params for(new i=0, i <= MAX_VEHICLES, i++) SetVehicleToRespawn(i); //error line return 1; }