register when the player tape /joueuralpha
#1

I want when the player tape /joueuralpha he can't do this a two times but only one times on his account

there is the code:

PHP Code:
COMMAND:joueuralpha(playeridparams[])
{
    
SendAdminText(playerid"/joueuralpha"params);
    if (
GetPVarInt(playerid"CMD_Used") == 1)
    return 
SendClientMessage(playerid, -1"Tu peux utiliser cette commandes qu'une seule fois.");
    if (
APlayerData[playerid][LoggedIn] == false) return 0;
    
SendClientMessage(playerid0xFFFFFFF,"Vous avez bien confirmez votre status de joueur alpha de truckingFR");
    
SendClientMessage(playerid0xFFFFFFF,"Vous aurez maintenant sur le forum le grade JoueurAlpha(en le disans cacaouet par pm а thomas_rp)");
    
SendClientMessage(playerid0xFFFFFFF,"Est vous recevez aussi 850 000$");
    new 
string[128], Name[129];
    
GetPlayerName(playeridNamesizeof(Name));
    
format(stringsizeof(string),"Le joueur %s а confirmer sont status de Joueur Alpha !"Name);
    
SendClientMessageToAll(-1string);
    
GivePlayerMoney(playerid850000);
    
SetPVarInt(playerid"CMD_Used"1);
    return 
1;

Thank for help !
+rep if you found the solution
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)