Pickup help. - 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)
+--- Thread: Pickup help. (
/showthread.php?tid=475112)
Pickup help. -
Bost - 11.11.2013
Hello.
How can I do this? I have tried but I don't know how..
Re: Pickup help. -
Loot - 11.11.2013
Everything is explained here
https://sampwiki.blast.hk/wiki/CreatePickup.
Re: Pickup help. -
Bost - 11.11.2013
Yeah, but.. When I enter that pickup it says a text and it never destroys.
It's for an interior.
Re: Pickup help. -
Bost - 11.11.2013
AddPlayerClass(286,1577.2079,-1813.7363,13.4235,275.0583,0,0,0,0,0,0); //
Here I want to put that thing.
Re: Pickup help. -
Loot - 11.11.2013
Depends on what you're using it for, do you want to destroy it/showing a message?
You can use it anywhere you want, not only in interiors.
pawn Код:
CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
Models:
https://sampwiki.blast.hk/wiki/Pickup_IDs (change icon appearance here).
Types:
https://sampwiki.blast.hk/wiki/PickupTypes (change the pickup type (destroy/pickable)).
EDIT:
pawn Код:
CreatePickup(model, type, 1577.2079,-1813.7363,13.4235, 0);
Re: Pickup help. -
Bost - 11.11.2013
Код:
CreateDynamicPickup(1314, 1, 1554.9537,-1675.6584,16.1953,0);//PD Building
Create3DTextLabel("[Police Department] \n Press \"ENTER VEHICLE\" to enter the Place.",0xFFFF00AA, 1554.9537,-1675.6584,16.1953, 20,0,1);
I want to do it like this.
Re: Pickup help. -
Loot - 11.11.2013
Place that under GameModeInit, and try that yourself perhaps?
Re: Pickup help. -
Bost - 11.11.2013
Solved.
Now...........
How can I do this?:
Re: Pickup help. -
Bost - 11.11.2013
Anyone?
Re: Pickup help. -
Lajko1 - 11.11.2013
Quote:
Originally Posted by Bost
Anyone?
|
Use GameTextForPlayer
https://sampwiki.blast.hk/wiki/GameTextForPlayer