16.04.2012, 17:30
(
Последний раз редактировалось Faisal_khan; 16.04.2012 в 17:44.
Причина: LOL!
)
Hi SA-MP Community,
What the hell is wrong with this goddamn code!
I get errors:
Here:
And Here:
What the hell is wrong with this goddamn code!
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys == KEY_YES)
{
if(GetVehicleModel(vehicleid) == 597)
{
new Float:plocx,Float:plocy,Float:plocz,Float:ploca;
GetVehiclePos(vehicleid, plocx, plocy, plocz);
CreateSpike(plocx,plocy,plocz,ploca);
}
else
{
return 0;
}
}
return 1;
}
}
pawn Код:
error 017: undefined symbol "vehicleid"
error 017: undefined symbol "vehicleid"
pawn Код:
if(GetVehicleModel(vehicleid) == 597)
pawn Код:
GetVehiclePos(vehicleid, plocx, plocy, plocz);