SA-MP Forums Archive
Expected token error - 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: Expected token error (/showthread.php?tid=635891)



Expected token error - Cyboorg - 15.06.2017

PHP Code:
C:\Users\Desktop\SERVER\gamemodes\LVCNR.pwn(4915) : error 001expected token"-identifier-"but found "-integer value-"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
1 Error

Line 4915-4922
Code:
	
    new drugdealer = CreateActor(29, 1629.2743, 971.9099, 10.8203, 250.8677);
    ApplyActorAnimation(drugdealer, "DEALER", "DEALER_IDLE", 4.1, 1, 0, 0, 0, 0);
    new elvis = CreateActor(185, 2303.6191, 2391.5195, 14.6183, 1.2836);
    ApplyActorAnimation(elvis, "PED", "SEAT_idle", 4.1, 1, 0, 0, 0, 0);
    new nathan = CreateActor(163, 2303.1938, 2393.5757, 14.6183, 177.3553);
    ApplyActorAnimation(nathan, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
    new ethan = CreateActor(164, 2304.3203, 2393.5764, 14.6183, 177.3553);
    ApplyActorAnimation(ethan, "DEALER", "DEALER_IDLE", 4.1, 1, 0, 0, 0, 0);



Re: Expected token error - NewFreeroamStunt - 16.06.2017

show your code before in line 4915