• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

I need help!

Hjuston

New Member
Joined
Sep 29, 2009
Messages
11
Reaction score
0
I made script which allow player do buy his own statue [id: 1444].
My request is... how to get this player ID and set his placed statue unique ID, for example uid := 60000 + playerID.
I'm using The Forgotten Server 0.3.4 Crying Damson

1. player1 says !buystatue
2. his money are gone [100k], and statue has been placed
3. script set this statue uid 60000+player1id
3,5. player1 can set price of his statue, for example 500k
4. player2 stand in front of statue of player1 and look at this
5. it says "Statue owner is player1(statue uid-60000)"
6. if player2 say !buystatue then... if he got enought money (500k), money will be transfered to player1's bank account and now statue get uid 60000+player2ID

Important for me is getting players ids and setting an item uid with player id (or account id)

I hope someone can help me, thanks anyway

Peace.
 
Back
Top