SA-MP Forums Archive
Vehicle Script guide:)? - 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: Vehicle Script guide:)? (/showthread.php?tid=378693)



Vehicle Script guide:)? - Kyrix - 18.09.2012

Hello everyone i wanna make a command for
Код:
    if(strcmp(cmd, "/v", true) == 0 || strcmp(cmd, "/vehicle", true) == 0)
Only if admin give u acees to that with command
Код:
 /avgiveacces [PlayerID]
And also a command to ban this cmd
Код:
 /avban [PlayerID]
Could some 1 help me?
Will +REP
Thanks!

Sorry if i wrote wrong some words but it's late my eyes are tired


Re: Vehicle Script guide:)? - Kyrix - 18.09.2012

Should it work if i try this?
Код:
	if(strcmp(cmd, "/v", true) == 0 || strcmp(cmd, "/vehicle", true) == 0)
 {
                if (PlayerInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid,0xFFFFFFFF,"Your Rank is Low");



Re: Vehicle Script guide:)? - Kyrix - 19.09.2012

UP!?


Re: Vehicle Script guide:)? - Kyrix - 19.09.2012

UP!!