07.08.2011, 20:13
Hi I love the Gm, i searched long time to find a mod like these, to take it as base and modify something for me.
I modified a lot now, but i have still 2 Big Probs i don't get handled till now.
First if i activate the filterscript for the house system, i get a core dump. I have set the folders (Scriptfiles>>>houses>>>Users) but still don't work
And the second thing is, i want to make FBI, SWAT and Army restrictet by Score, I've tried some changes but it is be ignored till now.
I find this code
i tried it, and won't work, than i tried to make Army admin asigned
and i don't worked
can sombody tell me which code i have to put in and where?
regards
Thyr
PS: Im running the Samp Server with Linux, if this could help. I had another error, which only appers under Linux
I modified a lot now, but i have still 2 Big Probs i don't get handled till now.
First if i activate the filterscript for the house system, i get a core dump. I have set the folders (Scriptfiles>>>houses>>>Users) but still don't work
And the second thing is, i want to make FBI, SWAT and Army restrictet by Score, I've tried some changes but it is be ignored till now.
I find this code
Код:
public OnPlayerRequestSpawn(playerid) { new classid; switch (classid) { case 4: { if(GetPlayerScore(playerid)<50) { GameTextForPlayer(playerid, "You need 50+ score to use this class!", 2000, 5); ForceClassSelection(playerid); } } case 5: { if(GetPlayerScore(playerid)<50) { GameTextForPlayer(playerid, "You need 50+ score to use this class!", 2000, 5); ForceClassSelection(playerid); } } } return 1; }
Код:
public OnPlayerRequestClass(playerid,classid) { if(classid == 3 && !IsPlayerAdmin(playerid)) { SendClientMessage(playerid,COLOR_GREEN,"This skin is only for admins!"); } return 1; }
can sombody tell me which code i have to put in and where?
regards
Thyr
PS: Im running the Samp Server with Linux, if this could help. I had another error, which only appers under Linux