14.06.2011, 23:47
this is the code:
I get error message when i compile this.can plz someone tell me what did i do wrong?
this is the error:
Quote:
public OnPlayerConnect(playerid) { new string[64],pName[MAX_PLAYER_NAME]; GetPlayerName,(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof string,"%s has joined the server.Welcome!",pName); SendClientMessageToAll(0xFFFFFFAA,string); return 1; } |
this is the error:
Quote:
C:\Users\Jot\Desktop\Test.pwn(112) : error 076: syntax error in the expression, or invalid function call C:\Users\Jot\Desktop\Test.pwn(112) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |