07.04.2010, 19:08
hey everybody
I want to spawn an car that is locked fore every player
Ialready found one topic but it gives me this error
C:\Users\Sander\Desktop\sa-mp scripting\r7\gamemodes\grandlarc.pwn(754) : error 010: invalid function or declaration
this is the code
can you help me
Thanks
I want to spawn an car that is locked fore every player
Ialready found one topic but it gives me this error
C:\Users\Sander\Desktop\sa-mp scripting\r7\gamemodes\grandlarc.pwn(754) : error 010: invalid function or declaration
this is the code
Код:
public OnVehicleSpawn(vehicleid);
for(i == 0; i<MAX_PLAYERS; i++) //error in this line
{
SetVehicleParamsForPlayer(barricadecar[0],i, 0, 1);
SetVehicleParamsForPlayer(barricadecar[1],i, 0, 1);
SetVehicleParamsForPlayer(barricadecar[2],i, 0, 1);
}
Thanks


, indeed it is