C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(46) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(67) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(81) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(101) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(122) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(151) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(179) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(227) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(282) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(297) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(300) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(308) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(311) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(319) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(322) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(329) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(330) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(333) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(341) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(344) : warning 217: loose indentation
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(393) : error 010: invalid function or declaration
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(395) : error 010: invalid function or declaration
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(397) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
if(PRESSED(KEY_WALK))
{
if(team[playerid] == TEAM_BALLA)
{
if(gettime() - 6 < Abilitys[playerid]return GameTextForPlayer(playerid,"~w~ Ability Recharging!",1000,5);
{
GetPlayerVelocity(playerid,Float:x,Float:y,Float:z);
SetPlayerVelocity(playerid,Float:x,Float:y*1.0,Float:z+0.8* 1.2);
Abilitys[playerid][HighJumpZombie] = gettime();
}
if(PRESSED(KEY_WALK)) { if(team[playerid] == TEAM_BALLA) { if(gettime() - 6 < Abilitys[playerid]) return GameTextForPlayer(playerid,"~w~ Ability Recharging!",1000,5); GetPlayerVelocity(playerid,Float:x,Float:y,Float:z); SetPlayerVelocity(playerid,Float:x,Float:y*1.0,Float:z+0.8* 1.2); Abilitys[playerid][HighJumpZombie] = gettime(); } }
if(gettime() - 6 < Abilitys[playerid]return GameTextForPlayer(playerid,"~w~ Ability Recharging!",1000,5);
Код:
if(PRESSED(KEY_WALK)) { if(team[playerid] == TEAM_BALLA) { if(gettime() - 6 < Abilitys[playerid]) return GameTextForPlayer(playerid,"~w~ Ability Recharging!",1000,5); GetPlayerVelocity(playerid,Float:x,Float:y,Float:z); SetPlayerVelocity(playerid,Float:x,Float:y*1.0,Float:z+0.8* 1.2); Abilitys[playerid][HighJumpZombie] = gettime(); } } For the loose indentation: https://sampforum.blast.hk/showthread.php?tid=256961 |
error 010: invalid function or declaration
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(395) : error 010: invalid function or declaration
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(397) : error 010: invalid function or declaration
C:\Users\sAad\Desktop\Alpha vs Delta\gamemodes\Vs2.pwn(399) : error 021: symbol already defined: "GetPlayerVelocity"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
What in the world are you trying to do here?
PHP код:
EDIT: Oopsey, the guy before me was faster. |
Now it gives me this.
PHP код:
|
Did you delete the unecessary brackets like i did for your script before?
And "GetPlayerVelocity" is already defined somewhere, you don't need to define it again |
That's the prob,It's not defined anywhere else ...
I did CTRL + F "GetPlayerVelocity" It's only in 1 place. |