SA-MP Forums Archive
Why aren't these pickup's showing up? But other does? - 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: Why aren't these pickup's showing up? But other does? (/showthread.php?tid=128469)



Why aren't these pickup's showing up? But other does? - ДitisOnHuora - 17.02.2010

pawn Код:
new RUSSIANN;
pawn Код:
if ( pickupid == RUSSIANN)
{
    GameTextForPlayer(playerid, "~W~ Type ~r~ blablablabl", 5000, 5);
    PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
    return 1;
}
pawn Код:
RUSSIANN = CreatePickup(1239,1 , -2026.7815,-118.4966,1035.1719);
They just wont show up! I have other pickups, that are just the same way, and they are showing up... i have 71/100 CreatePickups.


Re: Why aren't these pickup's showing up? But other does? - woot - 17.02.2010

Is it possibly located in an interior? If so, you need to add -1 as the interior parameter.


Re: Why aren't these pickup's showing up? But other does? - ДitisOnHuora - 17.02.2010

Quote:
Originally Posted by //exora
Is it possibly located in an interior? If so, you need to add -1 as the interior parameter.
Yea its in an interior. Where i add the -1? And why? And why my other pickup's are working then?


Re: Why aren't these pickup's showing up? But other does? - woot - 17.02.2010

I actually ment virtual worlds .. try;

pawn Код:
RUSSIANN = CreatePickup(1239,1 , -2026.7815,-118.4966,1035.1719, -1);
https://sampwiki.blast.hk/wiki/CreatePickup


Re: Why aren't these pickup's showing up? But other does? - ДitisOnHuora - 17.02.2010

Quote:
Originally Posted by //exora
I actually ment virtual worlds .. try;

pawn Код:
RUSSIANN = CreatePickup(1239,1 , -2026.7815,-118.4966,1035.1719, -1);
https://sampwiki.blast.hk/wiki/CreatePickup
Wow, all works fine. Thank you man!

Ahh.

Now the text wont show up.

What's wrong?


Re: Why aren't these pickup's showing up? But other does? - ДitisOnHuora - 17.02.2010

Ahh.

Now the text wont show up.

What's wrong?


Re: Why aren't these pickup's showing up? But other does? - woot - 17.02.2010

pawn Код:
GameTextForPlayer(playerid, "~w~Type ~r~blablablabl", 5000, 5);
Don't capitalize the "W"


Re: Why aren't these pickup's showing up? But other does? - ДitisOnHuora - 17.02.2010

Quote:
Originally Posted by //exora
pawn Код:
GameTextForPlayer(playerid, "~w~Type ~r~blablablabl", 5000, 5);
Don't capitalize the "W"
Ahh, alot has been changed when 0.3 camed up.

Thank you again !

EDIT: Whoop, still not workin!


Re: Why aren't these pickup's showing up? But other does? - ДitisOnHuora - 17.02.2010

The text isnt showing up, what is the problem?


Re: Why aren't these pickup's showing up? But other does? - woot - 18.02.2010

Is the sound playing?