26.08.2015, 15:15
I made this code inside my script and i got an error:
Code:
Error:
Code:
PHP код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new string[128];
AttachObjectToVehicle(objectid, vehicleid, 3.525033, -1.234999, -0.251499, 0.000000, 0.000000, 0.000000);
format(string, sizeof(string), "You are entering vehicle %i", 520);
SendClientMessage(playerid, 0xFFFFFFFF, string);
return 1;
}
PHP код:
error 017: undefined symbol "objectid"