SA-MP Forums Archive
Help with pickups - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with pickups (/showthread.php?tid=241611)



Help with pickups - Alex.Cone - 18.03.2011

How can I create pickups for houses bizz and etc.


Re: Help with pickups - HyperZ - 18.03.2011

https://sampwiki.blast.hk/wiki/CreatePickup


Re: Help with pickups - hadzx - 18.03.2011

https://sampwiki.blast.hk/wiki/CreatePickup

OMG CLIVE YOUR SO FAST FFS


Re: Help with pickups - Alex.Cone - 18.03.2011

But when I'm on pikcup how text can show to player ?


Re: Help with pickups - HyperZ - 18.03.2011

Quote:
Originally Posted by Alex.Cone
Посмотреть сообщение
But when I'm on pikcup how text can show to player ?
pawn Код:
new pickup;

public OnGameModeInit()
{
    pickup = CreatePickup(1274, 2, 0.0, 0.0, 9.0);
    //       CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == pickup)
    {
        // Do your code here example
        SendClientMessage(playerid, -1, "Message here");
        return 1;
    }
    return 1;
}