[HELP]Adding FS to GM
#1

Hello everybody,i tryed to add Sandra's Truck missions Fs to my GM,all is positive but the text is not sending.
Like this :
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicle = GetPlayerVehicleID(playerid);
    if(newstate == 2)
    {
        if(TruckmissionPlaying[playerid] == 0)
        {
            new PTruck;
            for(new ID=1; ID<MAX_MISSIONS; ID++)
            {
                if(IsPlayerInVehicle(playerid, Truck[ID]))
                {
                    PTruck = ID;
                    break;
                }
            }
            if(PTruck > 0 && GetVehicleModel(vehicle) == 514)
            {
                TogglePlayerControllable(playerid, 0);
                new string[128];
                format(string, sizeof(string), "You can do #%d mission with this truck.", PTruck);
                SendClientMessage(playerid, COLOR_ORANGE, string);
                SendClientMessage(playerid, COLOR_ORANGE, "To start mission,type /startmission for exit,please type /exit.");
            }
        }
    }
    return 1;
}
If i'm enter Tanker(Model:514) it isn't send anything like "type /startmission" etc.
But i execute it with filterscript,it works.Why?How can i solve it ?Please help me.
Reply


Messages In This Thread
[HELP]Adding FS to GM - by Nightmare[TR] - 09.07.2010, 00:46
Re: [HELP]Adding FS to GM - by XtremePlanet - 09.07.2010, 08:12
Re: [HELP]Adding FS to GM - by Betamaster - 09.07.2010, 10:58
Re: [HELP]Adding FS to GM - by willsuckformoney - 09.07.2010, 11:47
Re: [HELP]Adding FS to GM - by Nightmare[TR] - 09.07.2010, 13:27

Forum Jump:


Users browsing this thread: 2 Guest(s)