18.01.2013, 19:48
Quote:
|
I'am sorry but your posting constantly and most of the times you haven't even attempted things yourself. KyleSmith is right, there is no point in you scripting a Gamemode due to you have very very little pawn knowledge. Try tutorials and build yourself up (skills). This will not happen over night, it will take time. |
https://sampwiki.blast.hk/wiki/Scripting_Basics
Do it like this :
pawn Код:
CMD:acmds(playerid)// you dont need params
{
if(PlayerInfo[playerid][aLevel] < 1)
{
//admin commands here
}
if(PlayerInfo[playerid][aLevel] < 2)
{
//admin commands here
}
if(PlayerInfo[playerid][aLevel] < 3)
{
//admin commands here
}
// and so on until until to your max admin level
return 1;
}
