Having trouble opening a vehicles hood. (Wil +rep)
#1

Hello , im trying to figure out how I open a vehicles hood.
So I went inside the wonderfull lands of Pawno and got stuck at this error.
If you would be that friendly to help me.
I'd be thankfull

My error
Код:
C:\Users\Arno\Desktop\CLRP\GameModes\GLRP.pwn(31486 -- 31487) : error 076: syntax error in the expression, or invalid function call
Код:
	if(strcmp(cmd, "/hood", true) == 0)
	{
	new vid;
	new engine,lights,alarm,doors,bonnet,boot,objective;
	vid = GetPlayerVehicleID
	GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
	SetVehicleParamsEx(vid,engine,lights,alarm,doors,1,boot,objective);
	}
Reply
#2

pawn Код:
vid = GetPlayerVehicleID
Should be

pawn Код:
vid = GetPlayerVehicleID(playerid);
.
Reply
#3

+Rep
Reply
#4

You can't rep until you achieve 50+ posts.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)