19.06.2010, 00:39
Hi there i have a problem, i've got this
but now i want to "If" the vehicle like this
But how do i do that??
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);
}
pawn Код:
if(vehicle==aaa)