SA-MP Forums Archive
Adding to zGaming script few things (Made by iRage) - 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: Adding to zGaming script few things (Made by iRage) (/showthread.php?tid=364909)



Adding to zGaming script few things (Made by iRage) - BoomShnizel - 01.08.2012

Hey, i am using zGaming script, and i wanted to add few commands, that i dont know how to:

/pveh [slot 1-2] (creating a vehicle that will be owned by a player)

/getpos (getting the chords you are on)

/gotopveh [slot 1-2] (going to player's vehicle

/getherepveh [slot 1-2] (Bringing to you a player's vehicle

/jetpack [player] (giving a player jetpack)

/stopspec (stop spectating, I didnt find a commands like this in zGaming's script)
and i think thats it, If you can help me with scripting them so they will fit to zGaming script i will be greatful!!! THANKS


Re: Adding to zGaming script few things (Made by iRage) - BoomShnizel - 01.08.2012

Oh, and /destroypveh [slot 1-2] (Destroying a player's vehicle)


Re: Adding to zGaming script few things (Made by iRage) - Memoryz - 01.08.2012

Not sure if it uses STRCMP commands or ZCMD, but here is a strcmp for the jetpack.

pawn Code:
if(strcmp(cmd, "/jetpack", true) == 0)
{
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
    return 1;
}



Re: Adding to zGaming script few things (Made by iRage) - BoomShnizel - 02.08.2012

Not working