13.02.2013, 18:49
Um, idk how to say this but you really need to start learning about pawn, you can't put a call back inside an other
Your code:
Right code
Your code:
pawn Код:
public OnGameModeExit()//This is a call back
{
public OnPlayerStateChange(playerid, newstate, oldstate) //This is a call back
//Putting them together = hell
{
pawn Код:
public OnGameModeExit()
{
//bla bla
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
//code bla bla
return 1;
}