27.07.2014, 13:03
Hello. Well i've created a pickup, and the pickup shows IG,it's supposed to send the Player a message saying for example "Los Santos Bank" when he steps on it. But when i really step on it IG nothing shows.
Here is the script:
i've tryed OnPlayerPickupPickup and On PlayerPickupDynamicePickup, but it's the same problem, nothing shows :/. Any idea what's the problem ?
And thanks in advance.
Here is the script:
Код:
public OnPlayerPickupPickup(playerid, pickupid)
{
if(pickupid == PoliceDepartementPickup)
{
GameTextForPlayer(playerid,"~y~Los Santos Police Departement",3400,3);
}
if(pickupid == CityHallpickup)
{
GameTextForPlayer(playerid,"~y~Los Santos City Hall",3400,3);
}
if(pickupid == Bankpickup)
{
GameTextForPlayer(playerid,"~y~Los Santos Bank", 3500, 2);
}
}
And thanks in advance.


