14.09.2013, 20:41
Uhm i don't get the problem.. but when i pickup the icons i don't get the GameText.. any help?
OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == CityHall)
{
ShowGameTextForPlayer = GameTextForPlayer(playerid, "Press the key \"Enter\" to enter the CityHall", 5000, 2);
CreatePickup(1239, 2, 2273.8291,82.0429,26.4844);
}
else if(pickupid == CityHallE)
{
ShowGameTextForPlayer = GameTextForPlayer(playerid, "Press the key \"Enter\" to exit the CityHall", 5000, 2);
CreatePickup(1239, 2, 389.4001,173.7315,1008.3828);
}
return 1;
}