How to get playerid under such callback as OnVehicleSpawn
#7

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)