Help?!syntax error in the expression, or invalid function call - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help?!syntax error in the expression, or invalid function call (
/showthread.php?tid=282269)
Help?!syntax error in the expression, or invalid function call -
SA_Claude - 10.09.2011
Код HTML:
if(listitem == 1)
{
AddVehicleComponent(GetPlayerVehicleID, 1010);
SendClientMessage(playerid,COLOR_YELLOW,"Finsh!");
}
Код HTML:
SevenStar.pwn(2479) : error 076: syntax error in the expression, or invalid function call
Line 2479:
Код HTML:
AddVehicleComponent(GetPlayerVehicleID, 1010);
What is it going on?
Re: Help?!syntax error in the expression, or invalid function call -
AeroBlast - 10.09.2011
Try
pawn Код:
if(listitem == 1)
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
SendClientMessage(playerid,COLOR_YELLOW,"Finsh!");
}
Re: Help?!syntax error in the expression, or invalid function call -
SA_Claude - 10.09.2011
Quote:
Originally Posted by AeroBlast
Try
pawn Код:
if(listitem == 1) { AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); SendClientMessage(playerid,COLOR_YELLOW,"Finsh!"); }
|
OH it's Done!
Thanks