Jump to content

Question

Posted

Salutare , am facut un system de vehicle , a durat 3-4 ore pana sa il termin si azi am re-loat de unde am lasat ieri si...mergea compilarea perfecta pana am adaugat aceasta

//--------------------------------------------------------------------------
	//RC Vehicles
	//--------------------------------------------------------------------------
	if(dialogid == CARMENU+24)
	{
		if(response)
		{
			if(listitem == 0)
			{
   				CreateVehicleEx(playerid,564, X,Y,Z+1, Angle, random(126), random(126), -1);
			}
			if(listitem == 1)
			{
   				CreateVehicleEx(playerid,441, X,Y,Z+1, Angle, random(126), random(126), -1);
			}
			if(listitem == 2)
			{
   				CreateVehicleEx(playerid,594, X,Y,Z+1, Angle, random(126), random(126), -1);
		}
	}
cand am bagat aceasta...imi da erroare cu "undefined CreateVehicleEx" dece? :| in caz ca ajuta la ceva
#define CARMENU 	3505

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

2 answers to this question

Recommended Posts

Posted

Ai uitat o paranteza deschisa. Uitate l-a tine si vezi.

//--------------------------------------------------------------------------
    //RC Vehicles
    //--------------------------------------------------------------------------
    if(dialogid == CARMENU+24)
    {
        if(response)
        {
            if(listitem == 0)
            {
   				CreateVehicleEx(playerid,564, X,Y,Z+1, Angle, random(126), random(126), -1);
            }
            if(listitem == 1)
            {
   				CreateVehicleEx(playerid,441, X,Y,Z+1, Angle, random(126), random(126), -1);
            }
            if(listitem == 2)
            {
   				CreateVehicleEx(playerid,594, X,Y,Z+1, Angle, random(126), random(126), -1);
            }
        }
    }

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

oh...da nam observato :D ms

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.