SA-MP Forums Archive
Problem need help - 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 need help (/showthread.php?tid=405946)



Problem need help - sscarface - 08.01.2013



and

Код:
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20006) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20007) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20010) : warning 202: number of arguments does not match definition
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20011) : warning 202: number of arguments does not match definition
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20013) : warning 202: number of arguments does not match definition
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20014) : warning 202: number of arguments does not match definition
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(27747) : warning 203: symbol is never used: "gateopen"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: Problem need help - sscarface - 08.01.2013

SomeOne help me Please?


Re: Problem need help - InfiniTy. - 08.01.2013

Line : 20006 and 20007 before MyGate1open and mygate2open add a )


Re: Problem need help - Infinity90 - 08.01.2013

Paste the code -_- I doubt anyone will re-type that shown on the image. Before MyGate..... Add a " ) " same with the one underneath.


Re: Problem need help - KingHual - 08.01.2013

You're obviously missing a parenthesis


Re: Problem need help - DiGiTaL_AnGeL - 08.01.2013

You need one more paranthese on both IsPlayerInRangeOfPoint lines, and MoveObject needs the rotation coordonates too:
pawn Код:
MoveObject(ojectid, x, y, z, speed, rotx, roty, rotz);



Re: Problem need help - sscarface - 08.01.2013

Thanx For Helping Me guyz

But
Sorry I don't understand , can you write the code here?

Or connect team viewer Pls.
id: 374 469 121
pass:1384


Re: Problem need help - sscarface - 08.01.2013

id: 374 469 121
pass: 2964

updated.


Re: Problem need help - nilanjay - 08.01.2013

The code is:

pawn Код:
if(MyGate1Open)MoveObject(MyGate1, 2335.18, 2443.37, -7.06));// You are missing the last bracket.
pawn Код:
if(MyGate2Open)MoveObject(MyGate2, 2293.95, 2499.37, -5.28));//Same here



Re: Problem need help - sscarface - 08.01.2013

Quote:
Originally Posted by nilanjay
Посмотреть сообщение
The code is:

pawn Код:
if(MyGate1Open)MoveObject(MyGate1, 2335.18, 2443.37, -7.06));// You are missing the last bracket.
pawn Код:
if(MyGate2Open)MoveObject(MyGate2, 2293.95, 2499.37, -5.28));//Same here
Thanx. I did but after I got this alot error but now fix.

Код:
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20006) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20007) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20010) : warning 202: number of arguments does not match definition
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20010) : error 001: expected token: ";", but found ")"
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20010) : error 029: invalid expression, assumed zero
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20010) : warning 215: expression has no effect
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20011) : error 029: invalid expression, assumed zero
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20011) : warning 202: number of arguments does not match definition
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20013) : warning 202: number of arguments does not match definition
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20013) : error 001: expected token: ";", but found ")"
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20013) : error 029: invalid expression, assumed zero
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20013) : warning 215: expression has no effect
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20014) : error 029: invalid expression, assumed zero
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(20014) : warning 202: number of arguments does not match definition
C:\Users\Nouman\Downloads\Documents\NVCNR_0.3e\NVCNR\Ncnr.pwn(27746) : warning 203: symbol is never used: "gateopen"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase