it is good? - 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: it is good? (
/showthread.php?tid=71275)
it is good? -
Taz86 - 31.03.2009
Код:
if(strcmp(cmd, "/opengate1", true) == 0) { // Edit the /eup to your elevator command.
MoveObject(yamgate,186,787.1932,-1140.3800,23.8281,88.0325); // Put your cords in here
SendClientMessage(playerid, COLOR_RED, "Gate opened"); // You dont alwas have to put this in, delete if wanted.
return 1;
}
if(strcmp(cmd, "/closegate1", true) == 0) { // Same deal as before
MoveObject(yamgate,186,787.2402,-1152.0308,23.6529,272.9844); // Same deal as before
SendClientMessage(playerid, COLOR_RED, "Gate closed."); // Same deal as before
return 1;
}
Did it good?
I did also
But this gives me erorrs
Help me pleSE/.
Re: it is good? -
Taz86 - 31.03.2009
Help me please, this is my 2 post about the gate and no one help...
Re: it is good? -
Shellegg - 31.03.2009
You using the bruzers tuturial i see, i'll help you
UnderGameModeInit() you need to add
yamgate = CreateObject(id, coords) // this for the gate cllsed, or elevator.
then on the command text you add those command that you have already