08.01.2016, 14:43
I Think Make a Pickup look better
Thats Pickup If you Enter pickup You Must teleport to Interior , And The Pickup Is Arrow model
Very Simple compared a Checkpoints
Thats Pickup If you Enter pickup You Must teleport to Interior , And The Pickup Is Arrow model
PHP код:
//Use Pickup So Simple
//If you use Checkpoint , The checkpoint Can make Player Confused Because In they Map exist a Red Marker :s
new buildpick;
public OnFilterScriptInit/*GamemodeInit*/()//If You're Make In gamemode Change FilterScriptInit To GamemodeInit
{
buildpick = CreatePickup(1318,1,-258.259704, 1043.609985, 20.939863);//thats pickup id 1318 is ARROW DOWN
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == buildpick)
{
SetPlayerPos(playerid,435.271331,-80.958938,999.554687);//change with your x,y,z coords
SetPlayerInterior(playerid,1);
SetPlayerFacingAngle(playerid, 0);
SendClientMessage(playerid,-1,"You're Now at Inside Build");
}
return 1;
}