23.05.2016, 18:49
Quote:
Whether in a filterscript nor in my gamemode..
I wrote this under OnPlayerDeath: Код:
public OnPlayerDeath(playerid, killerid, reason) { printf("1"); PlayerTextDrawSetString(playerid, HudTd[playerid][29], "0%"); Tot[playerid]=true; pInfo[playerid][survivaltime]=-1; SurvivalCount(playerid); for(new i=0; i<38; i++) { pInventar[playerid][i]=-1; } return 1; } The crashdetect plugin also "printed" nothing. All my includes i use don't use OnPlayerDeath in any way - so what is causing this? My first thought was OnPlayerTakeDamage, so i commented it out but nothing changed. Plugins i use: FCNPC, MapAndreas, streamer, mysql, crashdetect Does somebody know whats going on with my gamemode or whatever is causing this? |
1. make sure you have the right plugins(.dll for windows and .so for linux)
2.Make sure you have the lastest includes are downloaded and make sure you #include<> in the server at the top of the script.
3, Could you show use the server.cfg file please
N.B
As i have stated those are some simple mistakes made by other scripters so please dont rage out as i am just give you a few suggestions to check.