messages dont send
#1

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
			SendClientMessage(playerid, COLOR_RED, "[VEHICLE] /engineoff to disable the engine or type /engineon to enable it.");
			if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 448)
			{
 	          SendClientMessage(playerid, COLOR_RED, "* You can start the pizza courier by using /pizza");
    	    }
   	     	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 403)
		 	{
 			  SendClientMessage(playerid, COLOR_RED, "* You can start the Petrol Trucking by typing /petrol");
		  	}
			if(IsAnPD(vehicleid))
			{
 	        if(PlayerInfo[ playerid ][ pFaction ] == 0)
		    {
			    new Float:slx, Float:sly, Float:slz;
				GetPlayerPos(playerid, slx, sly, slz);
				SetPlayerPos(playerid, slx, sly, slz+1.3);
			    RemovePlayerFromVehicle(playerid);
			    //SendClientMessageEx(playerid, COLOR_YELLOW, "You are not in a Law Enforcement Vehicle");
			}

	}
  	return 1;
}



When a player enters the pizza and petrol vehicles it does not show that code but it does show

Код:
SendClientMessage(playerid, COLOR_RED, "[VEHICLE] /engineoff to disable the engine or type /engineon to enable it.");
Reply


Messages In This Thread
messages dont send - by alexanderjb918 - 18.08.2015, 02:42
Re: messages dont send - by X337 - 18.08.2015, 03:47

Forum Jump:


Users browsing this thread: 1 Guest(s)