[Ajuda] Ajuda Adptaзгo no GM!
#1

Estou tendo os seguintes erros
Quote:

(100893) : warning: 225: unreachable code
(100893) : error: 017: undefined symbol "haveKevlar"
(100893) : warning: 215: expression has no effect
(100893) : error: 001: expected token: ";", but found "]"
(100893) : error: 029: invalid expression, assumed zero
(100893) : error fatal: 107: too many error messages on one line

eu estou implantando esse FS no meu gm... https://sampforum.blast.hk/showthread.php?tid=496833 Agora... os Codigos que fazem parte dos erros
PHP код:
if(hittype == BULLET_HIT_TYPE_PLAYER && (fZ 0.5)) {
if(
haveKevlar[hitid] == true) {
new 
slot = -1;
for(new 
isizeof(weapon_data); ++i)
if(
weapon_data[i][weapon_id] == weaponid)
slot i;
if(
slot != -1) {
playerKevlarHealth[hitid] -= weapon_data[slot][_amount];
if(
playerKevlarHealth[hitid] <= 0.0) {
new 
Float:fHealth;
GetPlayerHealth(hitidfHealth);
SetPlayerHealth(hitidplayerKevlarHealth[hitid]+fHealth);
haveKevlar[hitid] = false;
playerKevlarHealth[hitid] = 0.0;
RemovePlayerAttachedObject(hitidVAGA_COLETE);
}
return 
0;
}
}
}
return 
1;

Reply
#2

Aprenda a indentar seus cуdigos, й muito importante para a leitura.

https://sampforum.blast.hk/showthread.php?tid=269667
Reply
#3

Quote:
Originally Posted by arakuta
Посмотреть сообщение
Aprenda a indentar seus cуdigos, й muito importante para a leitura.

https://sampforum.blast.hk/showthread.php?tid=269667
Ola amigo, esse codigo nгo й meu estou tentando atй agora por essa fs no meu servidor adpatar ao meu gamemode


https://sampforum.blast.hk/showthread.php?tid=496833
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)