What is the problem?
#1

PHP код:
if(Team[playerid] == Zombies && User[playerid][USER_MINIJUE]==&& User[playerid][USER_Evento] == && User[playerid][USER_TipoD]==&& newkeys Morder)
    {
    if(
GetPlayerWeapon(playerid) == 0)
    {
    new 
victimid GetClosestPlayer(playerid,2.0);
    if(
Team[victimid] != Zombies )
    {
    if(
IsPlayerPaused (victimid)) return GameTextForPlayer(playerid"~G~El jugador se encuentra~N~ pausado"60004);
    new 
FloatHealth;
    
GetPlayerHealth(victimidHealth);
    switch(
User[playerid][USER_Mutacion]) {
    case 
0,2: {
    if(
Health <= 10 && User[victimid][USER_Muerto]== )SendDeathMessage(playerid,victimid,WEAPON_DROWN),User[playerid][USER_KILLS]++,User[victimid][USER_Muerto]=1;
    
code.
    .
    .
    . }
    case 
1: {
    if(
Health <= 20 && User[victimid][USER_Muerto]== )SendDeathMessage(playerid,victimid,WEAPON_DROWN),User[playerid][USER_KILLS]++,User[victimid][USER_Muerto]=1;
    
code .
    .
    .
    . }
    }
    
SetPlayerScore(playerid,User[playerid][USER_SCORE]);
    }
    }
    return 
1;
    } 
PHP код:
[debugRun time error 4"Array index out of bounds"
[debugAMX backtrace:
[
debug#0 0009625c in public OnPlayerKeyStateChange (0, 136, 8) from EZ.amx
[debugRun time error 4"Array index out of bounds"
[debugAMX backtrace:
[
debug#0 0009625c in public OnPlayerKeyStateChange (0, 136, 8) from EZ.amx
[debugRun time error 4"Array index out of bounds"
[debugAMX backtrace
Reply


Messages In This Thread
What is the problem? - by Daynox12 - 02.06.2018, 19:24
Re: What is the problem? - by HoNEYKISS - 02.06.2018, 19:31
Re: What is the problem? - by Cell_ - 02.06.2018, 19:43
Re: What is the problem? - by Daynox12 - 02.06.2018, 19:43
Re: What is the problem? - by Daynox12 - 02.06.2018, 19:59
Re: What is the problem? - by Cell_ - 02.06.2018, 20:10
Re: What is the problem? - by Daynox12 - 02.06.2018, 20:12
Re: What is the problem? - by Daynox12 - 02.06.2018, 21:37
Re: What is the problem? - by Cell_ - 02.06.2018, 22:03
Re: What is the problem? - by GTLS - 03.06.2018, 06:11

Forum Jump:


Users browsing this thread: 1 Guest(s)