SA-MP Forums Archive
Problem with cp - 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: Problem with cp (/showthread.php?tid=313769)



Problem with cp - Face9000 - 27.01.2012

Hello,i've maked 3 cps,and i've this errors:

error 076: syntax error in the expression, or invalid function call
error 029: invalid expression, assumed zero
warning 215: expression has no effect

pawn Код:
CPs[1] = CreateDynamicCP-2141.4019,-256.8884,40.7195,-1,-1,-1,100); // Drugfactory rob CP
    CPs[2] = CreateDynamicCP(-1955.7079,306.0107,41.0471,-1,-1,-1,100); // WangCarsRobberyCPDoherty
    CPs[3] = CreateDynamicCP(-2051.8376,86.0918,28.3977,-1,-1,-1,100); // SanFierroFireDeptRobberyCP



Re: Problem with cp - henry jiggy - 27.01.2012

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Hello,i've maked 3 cps,and i've this errors:

error 076: syntax error in the expression, or invalid function call
error 029: invalid expression, assumed zero
warning 215: expression has no effect

pawn Код:
CPs[1] = CreateDynamicCP-2141.4019,-256.8884,40.7195,-1,-1,-1,100); // Drugfactory rob CP
    CPs[2] = CreateDynamicCP(-1955.7079,306.0107,41.0471,-1,-1,-1,100); // WangCarsRobberyCPDoherty
    CPs[3] = CreateDynamicCP(-2051.8376,86.0918,28.3977,-1,-1,-1,100); // SanFierroFireDeptRobberyCP
Duh.

pawn Код:
CPs[1] = CreateDynamicCP(-2141.4019,-256.8884,40.7195,-1,-1,-1,100); // Drugfactory rob CP
    CPs[2] = CreateDynamicCP(-1955.7079,306.0107,41.0471,-1,-1,-1,100); // WangCarsRobberyCPDoherty
    CPs[3] = CreateDynamicCP(-2051.8376,86.0918,28.3977,-1,-1,-1,100); // SanFierroFireDeptRobberyCP



Re: Problem with cp - Face9000 - 27.01.2012

Thank you.