26.06.2009, 10:56
[FilterScript] [FILTERSCRIPT] Xtreme Admin System || Version: 2.2 • SA:MP 0.2.2-r2 • Click Me!
26.06.2009, 12:12
I don't understand.
I understand how Dini works and such, but what is how to incorporate GetPlayerTeam and the Jobs variable.
How can I make them one thing?
I understand how Dini works and such, but what is how to incorporate GetPlayerTeam and the Jobs variable.
How can I make them one thing?
26.06.2009, 12:30
dini_Set("/folder/file.ini", "Job", "Carjacker");
26.06.2009, 12:52
Let me show you what i'm working with. Another thing to note, is that I want it to save the players job until they /quitjob, in which case it would reset their "job" back to Civilian. They would keep it through log out and everything.
Here is the code i'm working with, without Dini implimented:
That's what I have now.
Sorry for not picking up on this too quickly - its pretty rough at first.
Here is the code i'm working with, without Dini implimented:
Код:
if(strcmp("/apply", cmdtext, true, 6) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(1, playerid, 2227.7698,-1718.5902,13.5216)) // Location that the player has to be at to get the job. { if (GetPlayerTeam(playerid) == 1) { SendClientMessage(playerid, COLOR_WHITE, "LSPD cannot get Mercenary!"); } if (GetPlayerTeam(playerid) == 2) { SendClientMessage(playerid, COLOR_WHITE, "FBI cannot get Mercenary!"); } if (GetPlayerTeam(playerid) == 3) { SendClientMessage(playerid, COLOR_WHITE, "You already have a job!"); } if (GetPlayerTeam(playerid) == 4) { SendClientMessage(playerid, COLOR_WHITE, "You already have a job!"); } if (GetPlayerTeam(playerid) == 5) { SendClientMessage(playerid, COLOR_WHITE, "You already have a job!"); } if (GetPlayerTeam(playerid) == 6) { SendClientMessage(playerid, COLOR_WHITE, "You are already a Mercenary!"); } if (GetPlayerTeam(playerid) == 7) { SendClientMessage(playerid, COLOR_WHITE, "You already have a job!"); } else { SetPlayerTeam(playerid, 3); } { SendClientMessage(playerid, COLOR_LIGHTBLUE, "You've taken up the hour contract of being a Mercenary."); } { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type /help for more information on this job."); } { SendClientMessage(playerid, COLOR_LIGHTBLUE, "To quit this job when your contract is over, type /quitjob."); } } } return 1; }
Sorry for not picking up on this too quickly - its pretty rough at first.
27.06.2009, 16:11
Nobody have a clue how I can incorporate that?
29.06.2009, 12:00
Can someone tell me why I can not be an admin in my own server?
01.07.2009, 07:02
my server is crashing and i think is cause of this fs! can u modify it for 2.0x or something?
15.11.2009, 16:51
I was just banned from my friends server...just for giving us weapons..or something. It says "baned for cheat" ? Wtf?
26.11.2009, 08:32
I really wanna use this script. The Download link hasn't got the amx File. PLS SEND IT TO MEEEE!!! Email yoan103@abv.bg
03.12.2009, 15:27
I have the same problem as above, once i change my config file to Lvl 10 it works fine and i am level 10 but i cant log in as my player.
When first login it says "that name is already registered please enter password to login" and then when i enter password it says "you must register first"
I am unable to test anything in the server because i need to login in order to buy house etc.
Please can someone help.
by the way the script is great and works like a charm, just this little problem.
Thanks,
When first login it says "that name is already registered please enter password to login" and then when i enter password it says "you must register first"
I am unable to test anything in the server because i need to login in order to buy house etc.
Please can someone help.
by the way the script is great and works like a charm, just this little problem.
Thanks,
08.12.2009, 15:11
What do you have to set in server.cfg?
Because it really don't works.
In my server it really don't do anything ingame at all!
Because it really don't works.
In my server it really don't do anything ingame at all!
08.12.2009, 15:18
Don't modify the file with wordpad, it's messes up the format because Wordpad uses a different line breaking characters, open it with notepad and then modify your lvl to 10 (make sure it's a new file and not already corrupted)
08.12.2009, 15:27
What do you have to set in server.cfg?
Because it really don't works.
In my server it really don't do anything ingame at all!
Please Help!
Because it really don't works.
In my server it really don't do anything ingame at all!
Please Help!
09.12.2009, 15:29
filterscripts XtremeAdmin2
12.12.2009, 08:06
I can't set level. I do all the things and I can type /register /login... but I can't set level from scrptfiles
17.12.2009, 17:39
What about /vclear and /oclear or /mclear?
19.12.2009, 12:22
possibly to work on samp 0.3? ive been looking on utube and the comments say that it doesnt?
19.12.2009, 12:45
Hey Hello.. This look interesting, it can work in 0.3a Version? Answer please..
PD: I will try to test, i edit after the Test
PD: I will try to test, i edit after the Test
22.12.2009, 13:24
Quote:
Originally Posted by Willstah
possibly to work on samp 0.3? ive been looking on utube and the comments say that it doesnt?
|
It looks like you are damn lazy
23.12.2009, 00:25
This one sucks LAdmin 4 Life
« Next Oldest | Next Newest »
Users browsing this thread: 9 Guest(s)