samp error 035: argument type mismatch (argument 2)
#1

Got a Problem with this .. samp error 035: argument type mismatch (argument 2)

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	new Float:p[3],model = GetVehicleModel(vehicleid);
	if(model == 432&&GetPlayerScore(playerid)<1500)
	{
	    GetPlayerPos(playerid,p[0],p[1],p[2]);
	    SetPlayerPos(playerid,p[0],p[1],p[2]);
	    SendClientMessage(playerid,COL_BLUE,"[ERROR]:You need to have atleast 1500 score!");
	}
	if(model == 425&&GetPlayerScore(playerid)<2500)
	{
	    GetPlayerPos(playerid,p[0],p[1],p[2]);
	    SetPlayerPos(playerid,p[0],p[1],p[2]);
	    SendClientMessage(playerid,COL_BLUE,"[ERROR]:You need to have atleast 2500 score!");
	}
	if(model == 520&&GetPlayerScore(playerid)<3500)
	{
	    GetPlayerPos(playerid,p[0],p[1],p[2]);
	    SetPlayerPos(playerid,p[0],p[1],p[2]);
	    SendClientMessage(playerid,COL_BLUE,"[ERROR]:You need to have atleast 3500 score!");
	}
	if(model == 447&&GetPlayerScore(playerid)<5000)
	{
	    GetPlayerPos(playerid,p[0],p[1],p[2]);
	    SetPlayerPos(playerid,p[0],p[1],p[2]);
	    SendClientMessage(playerid,COL_BLUE,"[ERROR]:You need to have atleast 5000 score!");
	}
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)