23.04.2011, 23:06
Alright, I made some pickups, and I wanted to make some messages for them for when a player ran them over, I have but the messages don't appear..
Anyone know why the messages wont appear when you run over the pickup?
pawn Код:
if(pickupid == LSAP)
{
GameTextForPlayer(playerid,"~y~ Los Santos Airport Entrance. ~n~ ~r~/enterap ~y~ to enter.",3500,3);
}
if(pickupid == Shamal)
{
GameTextForPlayer(playerid,"~y~ Shamal Exit. ~n~ ~r~/shamal ~y~ to exit.",3500,3);
}
if(pickupid == LSAPI)
{
GameTextForPlayer(playerid,"~y~ Los Santos Airport Exit. ~n~ ~r~/exitap ~y~ to exit.",3500,3);
}
return 1;
}
pawn Код:
LSAP = CreateDynamicPickup(1318, 1, 1730.499, -2334.663,13.320, -1);
Shamal = CreateDynamicPickup(1318, 1, 1.63, 22.98, 1199.59, -1);
LSAPI = CreateDynamicPickup(1318, 1, -1855.764, 44.313, 1055.470, -1);