Death Bug?
#1

Everytime somebody dies on my server, it says stay within the world boundaries and the server got anal'd.

This is what I have on Request Class, Spawn, and Death

Spawn:

pawn Код:
if(pStats[playerid][Logged] == 1 && pStats[playerid][JustDied] == 1)
    {
        SetSpawnInfo(playerid, 0, pStats[playerid][Skin], 1172.231, -1323.294, 15.402, 0, 0, 0, 0, 0, 0, 0);
        SpawnPlayer(playerid);
        pStats[playerid][JustDied] = 0;
    }
Death:

pawn Код:
pStats[playerid][JustDied] = 1;
    if(pStats[playerid][InEvent] == 0)
    {
        pStats[playerid][Money] -= 1000;
    }
    if(pStats[playerid][InEvent] == 1)
    {
        eStats[Players]--;
        pStats[playerid][InEvent] = 0;
    }
Request Class:

pawn Код:
if(pStats[playerid][Logged] == 1 && pStats[playerid][JustDied] == 1)
    {
        SetSpawnInfo(playerid, 0, pStats[playerid][Skin], 1172.231, -1323.294, 15.402, 0, 0, 0, 0, 0, 0, 0);
        SpawnPlayer(playerid);
        pStats[playerid][JustDied] = 0;
    }
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)