05.07.2011, 08:27
so, ive been working on a hospital script(german, sry) and i addet this:
but the print returns at "morde",
bug?
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
Inenforcer[playerid] = 0;
Watching[playerid] = 0;
Goto[playerid] = 0;
dutyvar[playerid] = 0;
SpielerInfo[playerid][Tode] += 1;
print("morde");
SpielerInfo[killerid][Morde] += 1;
print("tode");
gekillt[playerid] = 1;
print("gekillt");
SpielerInfo[playerid][Friedhof] += 1;
SpielerInfo[playerid][Friedhofzeit] += 2;
print("2 abfragen");
Speichern(playerid);
Speichern(killerid);
print("gespeichernt");
return 1;
}
bug?

