• 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!

[Items via Page]

slaw

Software Developer
Joined
Aug 27, 2007
Messages
3,679
Solutions
126
Reaction score
1,118
Location
Germany
GitHub
slawkens
I have points system on my server. And actually i have PRemium Account via this, and Sex change.
Now i want make items via this, but i don't know what pid and sid. It will be all automatic, i want to be buyed item was not in backpack but in "Ammo slot". Ammo slot have pid and sid always same? It is possible to make this without errors with players in database?

I will show example. Player want buy Fire Sword. So in db what i need to put?
Code:
player_id  pid  sid  itemtype  count  attributes
   123      ?    ?    2392       1     ...(nothink)
 
Noobsko to robisz :p

Pid is a slot id... sid is a number a item for put in it other item by PID.

[popolskiemu]
PID to slot itema. Sid ustala slot dla innych itemów, żeby były w tym slocie... Jeśli w backpackku ustawisz PID na 1 i SID na 110 to żeby inny item np. fire sword był w backpacku to PID ustawiasz na 110 a sid zostawiasz nie ruszone. Kaput?
 
but your script work only when player is offline :>
//przy czym numery nie moga sie powtarzac, numery ponizej 100 sa zarezerwowane dla depo
 
Back
Top