PICKUPS
#1

How To Create Pickups That Create Cars??
Reply
#2

Example:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == carpickup)
    {
        new Float:X, Float:Y, Float:Z, Float:ang;
        GetPlayerPos(playerid, X, Y, Z);
        GetPlayerFacingAngle(playerid, ang);
        CreateVehicle(vehicletype, X, Y, Z+2, ang, color1, color2, 0);
    }
    return 1;
}
Note: Untested
Reply
#3

PHP код:
public OnPlayerPickUpPickup(playeridpickupid)
{
    if(
pickupid == cmarker)
    {
        
PutPlayerInVehicle(playerid,vehicleid,seatid);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE"*Car Spawned!"); // Message the player;
    

i think this is it ive never tried, hope it works, good luck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)