SA-MP Forums Archive
How to script XP system for Cops and robbers? please answer now. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to script XP system for Cops and robbers? please answer now. (/showthread.php?tid=511434)



How to script XP system for Cops and robbers? please answer now. - MichealScript - 05.05.2014

I Have san fierro cops and robbers server , i wanna make XP system in it.
when you rob you earn XP and when you rape or this things you earn XP too.
and the "Army class needs 20000 XP" and the "CIA class needs 10000 XP"
please help me how to script this XP system?


Re: How to script XP system for Cops and robbers? please answer now. - MichealScript - 05.05.2014

Please someone tell me fast !! because i want to script it now please !!


Re: How to script XP system for Cops and robbers? please answer now. - Eth - 05.05.2014

next time use search...
https://sampforum.blast.hk/showthread.php?tid=177743


Re: How to script XP system for Cops and robbers? please answer now. - MichealScript - 05.05.2014

i need XP system for SFCNR !!!!!!!!!!!!!!!!!!!! for cops and robbers and not Death match server omg.


Re: How to script XP system for Cops and robbers? please answer now. - MichealScript - 05.05.2014

Someone Tell me please....


Re: How to script XP system for Cops and robbers? please answer now. - Stinged - 05.05.2014

And are we supposed to guess your code and just make it from our mind?
We need to see the class system, the rape commands and all that other shit.


Re: How to script XP system for Cops and robbers? please answer now. - Luis- - 05.05.2014

Well, this guy surely didn't read the rules.


Re: How to script XP system for Cops and robbers? please answer now. - MichealScript - 05.05.2014

Criminals;
/rape for rape someone and get 20 XP for it.
/rob to rob someone and get 20 XP for it.
/robstore to rob store and you get 30 XP for it.
_______________________________________
Police;
/arrest to arrest criminal and he get 40 XP for it.
/su to suspect someone and he get 10 XP for it.

_______________________________________
Army ; Need 20000 XP to spawn as army class.
/arrest get 70 XP when you army only !!
/su get 20 XP when you army only !!


Re: How to script XP system for Cops and robbers? please answer now. - Jochemd - 05.05.2014

Create a per-player variable and increase it with 20 (+= 20) as soon as you rape somebody, and vice versa.


Re: How to script XP system for Cops and robbers? please answer now. - MichealScript - 05.05.2014

But one question .

i dont want get 20+ score when i Rape or this things.

You know San Fierro Cops And Robbers? By Lorenc? or San Fierro Cops And Robbers [NEW] ?

this servers have XP system i want the same too please.