gate help - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: gate help (
/showthread.php?tid=130607)
gate help -
jordikappen2 - 27.02.2010
i want only that [LSP] open it
Re: gate help -
Hijolion - 27.02.2010
https://sampwiki.blast.hk/wiki/MoveObject
You must create a gate before you can move one.
Re: gate help -
Miguel - 27.02.2010
https://sampwiki.blast.hk/wiki/Control_Structures
pawn Код:
public OnPlayerDoesSomething(playerid)
{
if(variable == something)
{
// do something
}
return 1;
}
pawn Код:
if(!strcmp(cmdtext, "/open", true))
{
if(variable[playerid] == value) // change level for your level var and value for the level
{
MoveObject(objectid, bla, bla, bla);
}
return 1;
}
Re: gate help -
Correlli - 27.02.2010
Quote:
Originally Posted by jordikappen2
i want only that [LSP] open it
|
You mean only players with [LSP] tag? If that's what you want, then search around, this was asked many times before.