24.06.2011, 21:42
PHP код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == faggio)
{
SendClientMessage(playerid, COL_GREY, "Very good");
GivePlayerMoney(playerid, 5000);
SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
}
if(pickupid == nrg)
{
SendClientMessage(playerid, COL_GREY, "Very good");
GivePlayerMoney(playerid, 2500);
SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
}
return 1;
}