[HELP] Named vehicles
#1

Hi there i have a problem, i've got this
pawn Код:
if (PlayerInfo[playerid][pCar] == 496)
        {
        new Float:x,Float:y,Float:z,Float:xrot;
        GetPlayerPos(playerid,Float:x,Float:y,Float:z);
            GetPlayerFacingAngle(playerid,Float:xrot);
          aaa = CreateVehicle(496,x+4,y,z,xrot,-1,-1,30);
        }
but now i want to "If" the vehicle like this
pawn Код:
if(vehicle==aaa)
But how do i do that??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)