18.12.2010, 17:42
(
Последний раз редактировалось iFriSki; 18.12.2010 в 17:47.
Причина: Adding code
)
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
https://sampwiki.blast.hk/wiki/InteriorIDs
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
https://sampwiki.blast.hk/wiki/InteriorIDs
pawn Код:
new Pickup_BSmoke;
public OnGameModeInit()
{
Pickup_BSmoke = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld); // Big smoke
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Pickup_BSmoke)
{
SetPlayerInterior(playerid, 2);
SetPlayerPos(playerid, 2567.52, -1294.59, 1063.25);
return 1;
}
}