26.06.2013, 08:56
This will work
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == LSPD)
{
SetPlayerPos(playerid, -1402.2529,-134.3108,14.1484);
SendClientMessage(playerid, COLOR_BLUE, "You've chosen to become an officer, proceed to the next checkpoint to continue, unless you'll prefer to use /home.");
}
if(pickupid == FBI)
{
SetPlayerPos(playerid, 1786.4082,-1298.6226,120.2656);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "You've chosen to become an agent, proceed to the next checkpoint to continue, unless you'll prefer to use /home.");
}
return 1;
}