29.06.2011, 10:52
Hey guys!
I forget scripting a bit due to i was not scripting for a long time and thought it was really boring without server.
And now i need to create an script.
I got some errors please help me.
Code.
Errors.
Thanks very much.
Have a nice day.
I forget scripting a bit due to i was not scripting for a long time and thought it was really boring without server.
And now i need to create an script.
I got some errors please help me.
Code.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
/* .. Key Up .. */
if(Fly[playerid] == 1){
}
if(PRESSED(KEY_JUMP)) {
new Float:x,Float:y,Float:z;
SetPlayerPos(playerid, x, y, z + 5);
SendClientMessage(playerid, 0x33AA33AA, "Up!");
}
}
return 1;
}
pawn Код:
C:\Users\Axme\Desktop\FMTHM.pwn(47) : warning 217: loose indentation
C:\Users\Axme\Desktop\FMTHM.pwn(53) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Have a nice day.