Omg what happend?
#1

LoL? What happened here? I GOT 1 ERROR ...

Код:
error 001: expected token: ")", but found "return"
The Line:

Код:
if((GetPlayerSkin(285)) return SendClientMessage(playerid, -1, "{FF0000}[ERROR]: Go Away From here");
Reply
#2

Код:
if((GetPlayerSkin(285)) return SendClientMessage(playerid, -1, "{FF0000}[ERROR]: Go Away From here");
You were using dubble brackets after "if"

Use this code:

Код:
if(GetPlayerSkin(285)) return SendClientMessage(playerid, -1, "{FF0000}[ERROR]: Go Away From here");
Reply
#3

The code below should fix it.

PHP код:
if(GetPlayerSkin(playerid) == 285) return SendClientMessage(playerid, -1"{FF0000}[ERROR]: Go Away From here"); 
Reply
#4

Quote:
Originally Posted by AjaxM
Посмотреть сообщение
PHP код:
if(GetPlayerSkin(playerid) == 285) return SendClientMessage(playerid, -1"{FF0000}[ERROR]: Go Away From here"); 
Oh,and yeah didn't noticed that mistake ^
Nice Ajax
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)