How to set Score?
#6

Quote:
Originally Posted by Amads
View Post
PHP Code:
SetPlayerScore(playeridPlayerInfo[playerid][Level]); 
Quote:
Originally Posted by Escobabe
View Post
PHP Code:
CMD:setcash(playerid,params[])
{
    new 
idamountstr[128], pname[MAX_PLAYER_NAME];
    if(
sscanf(params,"ui",id,amount)) return SendClientMessage(playerid,-1,"USAGE: /setcash [playerid] [amount]");
    if(!
IsPlayerConnected(id)) return SendClientMessage(playerid,-1,"That player is ot connected.");
    
GivePlayerMoney(playeridamount);
    
PlayerInfo[playerid][pMoney] = amount;
    
format(str,sizeof(str), "%s has given you %d$",pname,amount);
    
SendClientMessage(id,-1,str);
    return 
1;

Thx but I wanna set the money on logging in without a command

Like the Score - enum (look up)
Reply


Messages In This Thread
How to set Score? - by pulsare - 03.11.2017, 21:15
Re: How to set Score? - by Amads - 03.11.2017, 21:51
Re: How to set Score? - by pulsare - 03.11.2017, 22:50
Re: How to set Score? - by pulsare - 03.11.2017, 23:09
Re: How to set Score? - by Escobabe - 03.11.2017, 23:55
Re: How to set Score? - by pulsare - 04.11.2017, 00:21
Re: How to set Score? - by Eoussama - 04.11.2017, 01:01
Re: How to set Score? - by pulsare - 04.11.2017, 23:12
Re: How to set Score? - by Eoussama - 04.11.2017, 23:18
Re: How to set Score? - by TomRedlake - 05.11.2017, 07:47

Forum Jump:


Users browsing this thread: 3 Guest(s)