Pickup help.
#1

Hello.
How can I do this? I have tried but I don't know how..
Reply
#2

Everything is explained here https://sampwiki.blast.hk/wiki/CreatePickup.
Reply
#3

Yeah, but.. When I enter that pickup it says a text and it never destroys.
It's for an interior.
Reply
#4

AddPlayerClass(286,1577.2079,-1813.7363,13.4235,275.0583,0,0,0,0,0,0); //

Here I want to put that thing.
Reply
#5

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);
Reply
#6

Код:
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.
Reply
#7

Place that under GameModeInit, and try that yourself perhaps?
Reply
#8

Solved.
Now...........
How can I do this?:
Reply
#9

Anyone?
Reply
#10

Quote:
Originally Posted by Bost
Посмотреть сообщение
Anyone?
Use GameTextForPlayer

https://sampwiki.blast.hk/wiki/GameTextForPlayer
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)