Sziasztok!
Éppen egy megbízást teljesítettem mikor felötlött egy \"pár\" hiba.
Pawn :
D:\\Samp Server\\filterscripts\\carspawner.pwn(45) : error 001: expected token: \"*then\", but found \"-identifier-\"
D:\\Samp Server\\filterscripts\\carspawner.pwn(46) : error 029: invalid expression, assumed zero
D:\\Samp Server\\filterscripts\\carspawner.pwn(46) : error 001: expected token: \",\", but found \"-string-\"
D:\\Samp Server\\filterscripts\\carspawner.pwn(46) : warning 215: expression has no effect
D:\\Samp Server\\filterscripts\\carspawner.pwn(46) : error 001: expected token: \";\", but found \")\"
D:\\Samp Server\\filterscripts\\carspawner.pwn(46) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
A hibás kód:
if(!strcmp(\"/nrg\",cmdtext))
{
if IsPlayerInRangeOfPoint(playerid, 20.0,1310.0281,-1367.8417,13.5411) GetPlayerPos(playerid,x,y,z); GetPlayerFacingAngle(playerid,a); CreateVehicle(522,x+1,y+1,z,a,1,1,10000);
else SendClientMessage(playerid,0xFFFFFFFF \"Nem vagy az autóboltnál!\");
return 1;
}