Auto parachute
#1

Im thinking about an entrance for my server and i had an idea of the player jumping out of a plane with a parachute. Is there a way i can make the parachute auto deploy or something so when there a certain height off the ground, it opens up. I'm pretty sure there could be a way using like FIRE_BUTTON or something if im right?
Please help me


EDIT: Also, when i do:

Код HTML:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1375.3784,-1224.3589,202.4453,133.4988);
	SetPlayerCameraPos(playerid, 1375.3784,-1224.3589,202.4453,133.4988);
	SendClientMessage(playerid, 0x808080FF, "Welcome to World Wide Roleplay!");
 	GivePlayerWeapon(playerid, 46, 1); 
	return 1;
}
It does not ending up giving me the parachute anyone know why?
Reply
#2

No, there's no way

you could maybe alert the player to press LMB to deploy it, since your server is a roleplay (RP) server, people can also have the chance to roleplay it also.

off:
world wide roleplay? gonna check it out.. used to play on a world wide roleplay server once and it was cool
Reply
#3

I recently shut it down cause my host was having problems, but I'm recreating my script from scratch
Reply
#4

nice, I might check it out
Reply
#5

There is no way, but I recommend just using a SCM.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1375.3784,-1224.3589,202.4453,133.4988);
    SetPlayerCameraPos(playerid, 1375.3784,-1224.3589,202.4453,133.4988);
    SendClientMessage(playerid, 0x808080FF, "Welcome to World Wide Roleplay!");
    GivePlayerWeapon(playerid, 46, 1);
    SendClientMessage(playerid, // COLOR HERE, "Press the LMB or left CTRL to deploy your parachute!");
    return 1;
}
Reply
#6

I think that should help for the giving parachute part.

https://sampwiki.blast.hk/wiki/SetSpawnInfo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)