27.04.2012, 13:57
Eae galera so novo no pawno e queria saber qual й o erro nessa parte
}
*/
public OnPlayerPickUp(playerid, pickupid)
{
[KillTimer(DestroyPickup(pickupid)];
[DestroyPickup(pickupid)(pickupid)];
}
return 1;
}
if(pickupid == picVida)
{
new Float:health;
GetPlayerHealth(playerid, health);
SetPlayerHealth(playerid, health + 15);
KillTimer(DestroyPickupVidaTimer[picVida]);
DestroyVidaPickup(pickupid);
return 1
estгo aparecendo os seguinte erros na linha do [KillTimer(DestroyPickup(pickupid)]
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 029: invalid expression, assumed zero
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 001: expected token: ",", but found "]"
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 029: invalid expression, assumed zero
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : fatal error 107: too many error messages on one line
}
*/
public OnPlayerPickUp(playerid, pickupid)
{
[KillTimer(DestroyPickup(pickupid)];
[DestroyPickup(pickupid)(pickupid)];
}
return 1;
}
if(pickupid == picVida)
{
new Float:health;
GetPlayerHealth(playerid, health);
SetPlayerHealth(playerid, health + 15);
KillTimer(DestroyPickupVidaTimer[picVida]);
DestroyVidaPickup(pickupid);
return 1
estгo aparecendo os seguinte erros na linha do [KillTimer(DestroyPickup(pickupid)]
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 029: invalid expression, assumed zero
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 001: expected token: ",", but found "]"
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 029: invalid expression, assumed zero
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : fatal error 107: too many error messages on one line