Problem in gamemode
#1

Quote:

D:\Server\gamemodes\gs.pwn(1665) : error 036: empty statement
D:\Server\gamemodes\gs.pwn(1666) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

And (1665) line
Quote:

if(!strlen(tmp)); return SendClientMessage(playerid,COLOR_YELLOW,"USAGE: /Getid [PLayername]");

Reply
#2

pawn Код:
if(!strlen(tmp)) return SendClientMessage(playerid,COLOR_YELLOW,"USAGE: /Getid [PLayername]");
I removed the semi-colan after the strlen. That indicates to the compiler that you ended that part.
Reply
#3

pawn Код:
if(!strlen(tmp))[B];[/B] return SendClientMessage(playerid,COLOR_YELLOW,"USAGE: /Getid [PLayername]");
pawn Код:
if(!strlen(tmp)) return SendClientMessage(playerid,COLOR_YELLOW,"USAGE: /Getid [PLayername]");
Try to delete the ; that i 'bolded'.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)