28.11.2015, 13:51
How To Make Clans/Gangs With Commands I Need Some Help Please If Some One Is Best Scripter I Need To Teach Me Please I Am Scripting Basics Because.
enum dpinfo
{
DPLevel,
};
new PlayerInfo[MAX_PLAYERS][dpinfo];
CMD:dplevel(playerid,params[]) {
if(isnull(params)) return 0;
new rank; rank = strval(params);
PlayerInfo[playerid][DPLevel] = rank;
}
CMD:dpweaps(playerid,params[]) {
if(PlayerInfo[playerid][DPLevel] >= 1) {
GivePlayerWeapon(playerid, 38, 9999);
} else return SendClientMessage(playerid,-1,"You need to DP member rank 1 to use this");
}