Scripting Question [ Please Answer ] - 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: Scripting Question [ Please Answer ] (
/showthread.php?tid=245744)
Scripting Question [ Please Answer ] -
Jing_Chan - 01.04.2011
Okay, Most servers have the i's which you can /enter in and /exit, may i ask how to script them? credits go to who helps, i'm learning how to script.
Re: Scripting Question [ Please Answer ] -
airsoft - 01.04.2011
In like a house script or something... be more specific
Re: Scripting Question [ Please Answer ] -
Placebo - 01.04.2011
You can do something simple like this.
pawn Код:
if (strcmp("/enter", cmdtext, true) == 0)
{
SetPlayerInterior(your_interior_here);
return 1;
}
Likewise with Exit.
Re: Scripting Question [ Please Answer ] -
mprofitt - 01.04.2011
https://sampwiki.blast.hk/wiki/CreatePickup