01.08.2011, 13:48
example
pawn Код:
new Herro[MAX_PLAYERS];
public OnVehicleSpawn(vehicleid)
{
for(new i = 0; i < MAX_PLAYERS; i++) {
new Float:x,Float:y,Float:z;
GetPlayerPos(i,Float:x,Float:y,Float:z);
Herro[i] = CreateVehicle(411,Float:x,Float:y,Float:z,100.0,1,1,15);
}
return 1;
}