Quote:
Originally Posted by Hyperfire
Can you post the whole code?
|
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Intext)
GameTextForPlayer(playerid,"~r~ TYPE /OUT TO EXIT THE AREA!",15000,5);
if(pickupid == Extint)
GameTextForPlayer(playerid,"~r~ TYPE /IN TO ENTER THE AREA!",15000,5);
if(pickupid == LvSmurdGoUp)
SetPlayerPos(playerid,1603.0958,1775.6573,37.3125) ;
SetPlayerFacingAngle(playerid,11.2675);
if(pickupid == LvSmurdGoDown)
SetPlayerPos(playerid,1630.4812,1797.9111,10.8203) ;
SetPlayerFacingAngle(playerid,338.9939);
if(pickupid == HitmanWeapons)
GameTextForPlayer(playerid,"~r~ TYPE /ARMOUR TO EQUIP!",15000,5);
if(pickupid == Hotdog)
GameTextForPlayer(playerid,"~r~ TYPE /HOTDOG TO EAT!",15000,5);
if(pickupid == ArmyWeapons)
GameTextForPlayer(playerid,"~r~ TYPE /ARMOUR TO EQUIP!",15000,5);
if(pickupid == HitmanHQ)
GameTextForPlayer(playerid,"~r~ TYPE /ENTER TO GET INSIDE THE HQ!",15000,5);
if(pickupid == VLAHQ)
GameTextForPlayer(playerid,"~r~ TYPE /ENTER TO GET INSIDE THE HQ!",15000,5);
if(pickupid == VLAExit)
GameTextForPlayer(playerid,"~r~ TYPE /EXIT TO GET OUTSIDE!",15000,5);
if(pickupid == climb1)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb2)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb3)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb4)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb5)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb6)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb7)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb9)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
if(pickupid == climb10)
GameTextForPlayer(playerid,"~r~ TYPE /CLIMB TO GO UP!",1500,5);
return 1;
}