dumb error
#1

Код:
C:\Program Files (x86)\Rockstar Games\server\gamemodes\bare.pwn(22) : error 001: expected token: ";", but found "public"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
public OnPlayerConnect(playerid)
what could possibly be wrong
Reply
#2

Add a ; at the end of the line before the OnPlayerConnect callback.
Reply
#3

Код:
public OnPlayerConnect(playerid);
Is what i think the proper code would be
Reply
#4

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
Add a ; at the end of the line before the OnPlayerConnect callback.
randomly putting ; above OnPlayerConnect somehow fixed it
Reply
#5

Quote:
Originally Posted by SantarioLeone
Посмотреть сообщение
Код:
public OnPlayerConnect(playerid);
Is what i think the proper code would be
Thats empty statement (empty callback)

@a_big it's not about putting random things. On last used line before OnPlayerConnect you don't have ;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)