/giveadmin ? - 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: /giveadmin ? (
/showthread.php?tid=82383)
/giveadmin ? -
coole210 - 17.06.2009
How do i make a /giveadmin command ??
Heres what i got..
Код:
player_level[playerid] = 0;
So i just need to know how to give people stuff and how to specify a number.
Heres what i got so far :
Код:
if(strcmp(cmd, "/giveadmin", true) == 0) {
if(player_level[playerid] = 4
SendClientMessage(playerid, COLOR_RED, "You are not an admin level 4 ! ");
return 1;
}
I know it isnt much because i dunno how to make the rest..