Pickup not showing
#1

Hey i havent scripted ina long time so this might be really simple,
But anyway i created a pickup but it dosent show..

pawn Код:
new torranshouse;

torranshouse = CreatePickup(1273, 23, 3482.6670, -686.9516, 2.3716);

public OnPlayerPickUpPickup(playerid, pickupid)
{
if( pickupid == torranshouse) {
new string[50];
format(string, sizeof(string), "~r~Torrans House~n~~g~Beachhouse~n~Owned by~Torran~");
GameTextForPlayer(playerid, string, 3000, 5);
}
return 1;
}
Reply
#2

some stuff have changed, look this at wiki, maybe helps:

https://sampwiki.blast.hk/wiki/CreatePickup
Reply
#3

Still not

pawn Код:
torranshouse = CreatePickup(1273, 23, 3482.6670, -686.9516, 2.3716,-1);
This used to happen before 0.3 btw i just cant remember why and what i did to fix it
Reply
#4

Found problem! Coords are wrong :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)