SendClientMessage help
#1

PHP код:
CMD:towcars(playerid,params[])
{
    new 
tId;
    
tId PlayerInfo[playerid][Faction];
    if(
PlayerInfo[playerid][Rank] >=6) {
        for(new 
i=1;i<MAX_VEHICLES;i++)
        {
            
SetVehicleToRespawn(FactionCars[tId][i]);
        }
        
SendFactionMessage(playerid,COLOR_RED"All Faction vehicles have been returned to their places.");
    }
    else
    {
         
SendClientMessage(playerid,COLOR_RED,"You are not a high enough rank.");
    }
    return 
1;

It doesnt send the message All Faction vehicles... it says unknown command after the loop
Reply


Messages In This Thread
SendClientMessage help - by lramos15 - 08.11.2013, 19:59
Re: SendClientMessage help - by MyLife - 08.11.2013, 20:04
Re: SendClientMessage help - by lramos15 - 08.11.2013, 20:05
Re: SendClientMessage help - by Elie1996 - 08.11.2013, 20:12
Re: SendClientMessage help - by MyLife - 08.11.2013, 20:16
Re: SendClientMessage help - by lramos15 - 08.11.2013, 20:28
Re: SendClientMessage help - by MyLife - 08.11.2013, 20:32
Re: SendClientMessage help - by Elie1996 - 08.11.2013, 20:37
Re: SendClientMessage help - by DanishHaq - 08.11.2013, 21:14
Re: SendClientMessage help - by AnonScripter - 08.11.2013, 21:57

Forum Jump:


Users browsing this thread: 3 Guest(s)