How to script XP System and Robbery system?
#9

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
For your XP System, i've got :

PHP код:
stock SetPlayerXp(playeridXp)
{
return 
SetPlayerScore(playeridXp);

For your Robbery system, i've got a FilterScript made by superrobot48 :

https://sampforum.blast.hk/showthread.php?tid=505857

For each robbery you add :

SetPlayerXp(playerid, Xp); (change Xp by your amount)

For exemple :

SetPlayerXp(playerid,3); (it will give 3 xp for the player)

Hope it helps.

KillerDVX,

#define SetPlayerXP SetPlayerScore
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)