Pickup Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pickup Problem (
/showthread.php?tid=127760)
Pickup Problem -
MummyKillerSLO - 14.02.2010
Hello!
I want to make, that someone get into cylinder (as pickup) and get $2000.
The problem is, that I make cylinder and it is without texture (grey)?
Please help me find correct model for it. Thanks!
Here is my code:
Код:
new Pickup_LJ;
public OnGameModeInit()
{
//Other Code...
Pickup_LJ = AddStaticPickup(1317,3,371.3571,-2253.8064,6.4416);
return 1;
}
public OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == Pickup_LJ)
{
new PlayerMoney = GetPlayerMoney(playerid);
GivePlayerMoney(playerid,PlayerMoney + 2000);
format(String,sizeof(String),"~w~You Finished LJ Stunts For ~g~$2000~w~!");
GameTextForPlayer(playerid,String,5000,3);
}
return 1;
}
Re: Pickup Problem -
MummyKillerSLO - 14.02.2010
Anyone?