[HELP] /setweather command
#2

Remove this from your cmd:
pawn Код:
if(!IsPlayerConnected(giveplayerid)) {
    format(string, sizeof(string), "ID (%d) Is not an active player",giveplayerid);
    SendClientMessage(playerid, COLOR_ERROR, string);
    return 1;
}
When this one is added, the code checks for the existence of the player id, if not it returns the message...
So, you should remove this.
Reply


Messages In This Thread
[HELP] /setweather command - by [MKD]Max - 28.06.2011, 11:36
Re: [HELP] /setweather command - by iPLEOMAX - 28.06.2011, 11:42
Re: [HELP] /setweather command - by [MKD]Max - 28.06.2011, 12:01
Re: [HELP] /setweather command - by [MKD]Max - 28.06.2011, 15:40
Re: [HELP] /setweather command - by Shadoww5 - 28.06.2011, 15:48
Re: [HELP] /setweather command - by [MKD]Max - 28.06.2011, 18:07
Re: [HELP] /setweather command - by iPLEOMAX - 28.06.2011, 18:12
Re: [HELP] /setweather command - by [MKD]Max - 28.06.2011, 18:47
Re: [HELP] /setweather command - by Shadoww5 - 28.06.2011, 18:57
Re: [HELP] /setweather command - by [MKD]Max - 28.06.2011, 19:04

Forum Jump:


Users browsing this thread: 3 Guest(s)