ID detect - 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: ID detect (
/showthread.php?tid=270585)
-
Rafa - 20.07.2011
ok guys i have this
pawn Код:
if(strcmp("/giveviprights", cmdtext, true, 10) == 0)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0x0000000, "You cant use this command.");
return 1;
}
i need to make to detect the id of the player and give him rights to vip can some one help me with that....
and after i need to make the rights save in some file and when he connect again in the server to have the same rights...
hope u understand me...
Thanks.
pawn Код:
ZCMD:giveplayerrights(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0x0000000, "You can't use this command.");
return 1;
}
please some one help me i stop here and cant go ahead.. :/