13.03.2017, 13:34
Quote:
Код:
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 |
PHP код:
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.