Score Problem..
#3

Alright thanks, I need help with one more thing, my VIP chat command, it works almsot perfect except The first letter doesnt show..
PHP код:
CMD:v(playerid,params[]){
    new 
string[128],message;
    if(
PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid,COLOR_GRAY,"You're not authorized to use this command!");
    if(
sscanf(params,"s",message)) return SendClientMessage(playerid,COLOR_GRAY,"Syntax: /v [message]");
    else
    for(new 
0MAX_PLAYERSi++)
    {
        if(
PlayerInfo[i][pVIP] < 1) return 0;
        
format(string,sizeof(string),"[VIP]%s: %s",GetName(playerid),string);
        
SendClientMessage(i,COLOR_GOLD,string);
    }
    return 
1;

Reply


Messages In This Thread
Score Problem.. - by Azzeto - 13.10.2011, 20:43
Re: Score Problem.. - by Stigg - 13.10.2011, 20:46
Re: Score Problem.. - by Azzeto - 13.10.2011, 20:50
Re: Score Problem.. - by Wesley221 - 13.10.2011, 21:01
Re: Score Problem.. - by Azzeto - 13.10.2011, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)