C:\Documents and Settings\archienal\My Documents\Downloads\mj\scripting shits\Roleplay\gamemodes\rp.pwn(1433) : error 017: undefined symbol "KEY_N" C:\Documents and Settings\archienal\My Documents\Downloads\mj\scripting shits\Roleplay\gamemodes\rp.pwn(1434) : error 017: undefined symbol "KEY_SPACEBAR" C:\Documents and Settings\archienal\My Documents\Downloads\mj\scripting shits\Roleplay\gamemodes\rp.pwn(4794) : error 037: invalid string (possibly non-terminated string) C:\Documents and Settings\archienal\My Documents\Downloads\mj\scripting shits\Roleplay\gamemodes\rp.pwn(4797) : error 010: invalid function or declaration C:\Documents and Settings\archienal\My Documents\Downloads\mj\scripting shits\Roleplay\gamemodes\rp.pwn(4801) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { new string[512]; if(PRESSED(KEY_N)) if(PRESSED(KEY_SPACEBAR)) {
KEY_N - Not Available KEY_SPACEBAR - KEY_SPRINT (Not sure)
there is no such KEY_N or KEY_SPACEBAR
Код:
KEY_N - Not Available KEY_SPACEBAR - KEY_SPRINT (Not sure) |
C:\Documents and Settings\archienal\My Documents\Downloads\mj\scripting shits\Roleplay\gamemodes\rp.pwn(4793) : error 037: invalid string (possibly non-terminated string) C:\Documents and Settings\archienal\My Documents\Downloads\mj\scripting shits\Roleplay\gamemodes\rp.pwn(4796) : error 010: invalid function or declaration C:\Documents and Settings\archienal\My Documents\Downloads\mj\scripting shits\Roleplay\gamemodes\rp.pwn(4800) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
Post your lines From 4793 to 4800
So we can tell you What's the Problem and How to fix it |
CMD:afk(playerid,params[]); CMD:kill(playerid,params[]); SetPlayerHealth(playerid, 0);
CMD:afk(playerid, params[])
{
//codes goes here
return 1;
}
CMD:kill(playerid, params[]) return SetPlayerHealth(playerid, 0);
or
CMD:kill(playerid, params[])
{
SetPlayerHealth(playerid, 0);
return 1;
}