21.04.2013, 09:33
So all the pickups work except for the PICKUP_FIRENTER , it compiles perfect and te pickup is there but when I enter it nothing happens
http://pastebin.com/UmmHwHig
http://pastebin.com/UmmHwHig
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == PICKUP_HOSPENTER)
{
blablablabla
}
else if(pickupid == PICKUP_HOSPEXIT)
{
blablabla
}
else if(pickupid == blablabla)
{
if(GetPlayerTeam(playerid) == 1)
{
blablabla
}
else if (GetPlayerTeam(playerid) == 2)
{
BLABLABLA
}
}
else if(pickupid == PICKUP_FIRENTER)
{
SetPlayerPos(playerid,322.197998,302.497985,999.148437);
SetPlayerVirtualWorld(playerid, 13);
SetPlayerInterior(playerid, 5);
}
return 1;
}