die beiden warnings bringen den server wohl immer zum absturtz er bleibt c.a. 30 sec. online bis er abstürtz
D:\Pawn\pawno\Suchtis\Reallife-Time.pwn(42989) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
D:\Pawn\pawno\Suchtis\Reallife-Time.pwn(49477) : warning 203: symbol is never used: "Turfs"
Hier die zeilen:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 0;
}
public StartDrugEffect(playerid)
{
if(PlayerDrugUse[playerid] == 1) //Gras
{
PlayerDrugTime[playerid] = 75;
new Float:hp;
GetPlayerHealth(playerid, hp);
SetPlayerHealth(playerid, hp+50);
}
if(PlayerDrugUse[playerid] == 2) //Heroin
{
new Float:hp;
GetPlayerHealth(playerid, hp);
SetPlayerHealth(playerid, hp+75);
PlayerDrugTime[playerid] = 80;
}
if(PlayerDrugUse[playerid] == 3) //Kokain
{
SetPlayerHealth(playerid, 200);
PlayerDrugTime[playerid] = 100;
}
if(PlayerDrugUse[playerid] == 4) //LSD
{
SetPlayerArmour(playerid, 100);
PlayerDrugTime[playerid] = 100;
}
if(PlayerDrugUse[playerid] == 5) //XTC
{
PlayerDrugTime[playerid] = 25;
}
return 1;
}
weiter geht mein script nicht also zeile 49477 existiert nicht