Posts: 359
Threads: 16
Joined: Jan 2012
Код:
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.
I need help with this..Im editting/scripting a Basic Roleplay Script..And I got this errors
Here is the line
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
new string[512];
if(PRESSED(KEY_N))
if(PRESSED(KEY_SPACEBAR))
{
Posts: 359
Threads: 16
Joined: Jan 2012
Posts: 359
Threads: 16
Joined: Jan 2012
Quote:
Originally Posted by RollTi
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.
Thanks its fixed now but I have 3 errors left..
Idk how to fix it can't understand :\
Posts: 108
Threads: 7
Joined: Apr 2012
Reputation:
0
Post your lines From 4793 to 4800
So we can tell you What's the Problem and How to fix it
Posts: 359
Threads: 16
Joined: Jan 2012
Quote:
Originally Posted by Phyrunx
Post your lines From 4793 to 4800
So we can tell you What's the Problem and How to fix it
|
It was this
Код:
CMD:afk(playerid,params[]);
CMD:kill(playerid,params[]);
SetPlayerHealth(playerid, 0);