Weird error pickup not showing
#1

Hi!


I got a problem.. I've done a pickup to a interior but it's a problem the pickup won't show..

I've try with 0- on the end etc can't rember what it's named lol... And I have
aslo tryd with tryd with diffrent pickup types..

Here is my code:

pawn Код:
CreatePickup(1318,1,-1411.6375,7.0938,15.4421-1); //For pickup to prison
Reply
#2

You are omitting the virtual world argument altogether, which is probably an issue.

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

I would suggest adding the final argument as -1 like it says on the SA-MP documentation to make it show in all virtual worlds, unless you want to limit that too. Just remember that virtual worlds have nothing to do with interiors.

pawn Код:
CreatePickup(1318, 1, -1411.6375,7.0938, 15.4421, -1); //For pickup to prison
Also you were doing a subtraction on the float at the end? I don't know why, I assume it was a mistake.
Reply
#3

Quote:
Originally Posted by JaTochNietDan
Посмотреть сообщение
You are omitting the virtual world argument altogether, which is probably an issue.

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

I would suggest adding the final argument as -1 like it says on the SA-MP documentation to make it show in all virtual worlds, unless you want to limit that too. Just remember that virtual worlds have nothing to do with interiors.

pawn Код:
CreatePickup(1318, 1, -1411.6375,7.0938, 15.4421, -1); //For pickup to prison
Also you were doing a subtraction on the float at the end? I don't know why, I assume it was a mistake.
Thanks alot! .. I don't know that thing to I aslo think it was a mistake. Thanks alot like said!.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)