Enter/Leave - 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)
+--- Thread: Enter/Leave (
/showthread.php?tid=403007)
Enter/Leave -
Registrieren - 28.12.2012
Hey Guys.
How can i script that:
Re : Enter/Leave -
DaRk_RaiN - 28.12.2012
SetPlayerInterior all interiors have there own checkpoints.
Re: Enter/Leave -
[CG]Milito - 28.12.2012
Those "Enters & Exits" are called pickups
use
pawn Код:
public OnGameModeInit()
{
MyFirstPickup = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
Return1;
}
pawn Код:
public OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == MyFirstPickup) SetPlayerInterior(playerid,interiorid);
return1;
}
Re: Enter/Leave -
RedCrossER - 28.12.2012
Explain bit more,
Well you need to make a pickup or checkpoint for exiting the house and entering to house? This is what you want ?
Re: Enter/Leave -
INeed - 28.12.2012
I think, he mean the kind of leaving/entering