Some Errors! Help Me!
#1

Quote:

C:\Users\BenRoger\Desktop\New folder\pawno\include\PPC_PlayerCommands.inc(1062) : warning 209: function "cmd_work" should return a value
C:\Users\******\Desktop\New folder\pawno\include\PPC_PlayerCommands.inc(1063) : error 010: invalid function or declaration
C:\Users\******\Desktop\New folder\pawno\include\PPC_PlayerCommands.inc(1064) : error 010: invalid function or declaration
C:\Users\******\Desktop\New folder\pawno\include\PPC_PlayerCommands.inc(1067) : error 010: invalid function or declaration
C:\Users\BenRoger\Desktop\New folder\pawno\include\PPC_PlayerCommands.inc(2787) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Error Code :
http://pastebin.com/tvSWKKDP

Can Someone Fix Them?

The Fail Is :
Quote:

}
}
}
default: SendClientMessage(playerid, 0xFF0000FF, "Your class cannot do any jobs");
}
}
else // Send a message to let the player know he already has a job
SendClientMessage(playerid, 0xFF0000FF, "You're already doing a job");
}
}
else
return 0;

// Let the server know that this was a valid command
return 1;
}

I Think :P
Reply
#2

You place The brackets wrong.
ATM Im on ipad else i fixed it..
Reply
#3

Post that section of the script from when you opened the first bracket "{"
Reply
#4

Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)