1 request + 2 questions
#2

pawn Код:
forward OnPlayerDestroy(playerid, vehicleid);
forward DestroyVehicleEx(playerid, vehicleid);

public DestroyVehicleEx(playerid, vehicleid){
 DestroyVehicle(vehicleid);
 CallLocalFunction("OnPlayerDestroy", "dd", playerid, vehicleid);
}

public OnPlayerDestroy(playerid, vehicleid){
    printf("Player %d destroyed vehicle %d", playerid, vehicleid);
    return true;
}
Reply


Messages In This Thread
1 request + 2 questions - by Opah - 30.06.2012, 02:29
Re: 1 request + 2 questions - by CoaPsyFactor - 30.06.2012, 03:09
Re: 1 request + 2 questions - by MP2 - 30.06.2012, 03:24
Re: 1 request + 2 questions - by Opah - 30.06.2012, 11:49
Re: 1 request + 2 questions - by milanosie - 30.06.2012, 11:50
Re: 1 request + 2 questions - by Opah - 30.06.2012, 11:52
Re: 1 request + 2 questions - by milanosie - 30.06.2012, 11:55
Re: 1 request + 2 questions - by MadeMan - 30.06.2012, 16:47
Re: 1 request + 2 questions - by Opah - 30.06.2012, 17:36

Forum Jump:


Users browsing this thread: 1 Guest(s)