Quote:
Originally Posted by Cameltoe
pawn Code:
new PlayerEXP[MAX_PLAYERS];
command(giveexp, playerid, params[]) { new pID, Amount; if(sscanf(params, "ui", pID, Amount)) return SendClientMessage(playerid, 0x0, "Usage: /giveexp [ PlayerID ] [ Amount ]"); PlayerEXP[pID] = Amount; // To set the amount PlayerEXP[pID] = ( PlayerEXP[pID] + Amount ); // To give the amount // Remove either of these to change wether to set or give exp. return 1; }
|
How i can make it for rcon admins ?
Edit:When i use command i didn't get the exp