Help 1 Eror (Who help me +REP)
#1

CODE
Код:
	        if(!PlayerToPoint(3.0,playerid,-2640.762939,1406.682006,906.460937 || !PlayerToPoint(3.0,playerid,-227.027999,1401.229980,27.765625))
12664:	        {
ERROR
Код:
:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\FWRPG.pwn(12664) : error 001: expected token: ")", but found "{"
Reply
#2

Before you start this codes you must define it, If you are beginner you' gotta learn that
Reply
#3

pawn Код:
if(!PlayerToPoint(3.0,playerid,-2640.762939,1406.682006,906.460937)) || if(!PlayerToPoint(3.0,playerid,-227.027999,1401.229980,27.765625))
Reply
#4

Quote:
Originally Posted by AtItsMax
Посмотреть сообщение
pawn Код:
if(!PlayerToPoint(3.0,playerid,-2640.762939,1406.682006,906.460937)) || if(!PlayerToPoint(3.0,playerid,-227.027999,1401.229980,27.765625))
dont work new error
Код:
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\FWRPG.pwn(12663) : error 029: invalid expression, assumed zero
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\FWRPG.pwn(12663) : warning 215: expression has no effect
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\FWRPG.pwn(12663) : error 001: expected token: ";", but found "if"
Reply
#5

Try this

PHP код:
if(!PlayerToPoint(3.0,playerid,-2640.762939,1406.682006,906.460937 || !PlayerToPoint(3.0,playerid,-227.027999,1401.229980,27.765625))

Reply
#6

pawn Код:
if(!PlayerToPoint(3.0,playerid,-2640.762939,1406.682006,906.460937) || !PlayerToPoint(3.0,playerid,-227.027999,1401.229980,27.765625))
{
This will work.

You forgot to close a bracket ")" after the first PlayerToPoint.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)