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

Need help with a script

Belthazor

New Member
Joined
Sep 20, 2008
Messages
528
Reaction score
4
Hello,

wanted to ask a small help, i am working on this script and i am getting some probleems its like a team quest so 4 ppl on 4 tiles and when the use switch every 1 person most have 1 unique items and i am stuck at this part.



Code:
	druidID	= 1001
	sorceID = 1002
	pallyID	= 1003
	knightID = 1004
	player1item = getPlayerItemCount(player1.uid)
	player2item = getPlayerItemCount(player2.uid)
	player3item = getPlayerItemCount(player3.uid)
	player4item = getPlayerItemCount(player4.uid)
		
if player1item >= knightID and player2item >= pallyID and player3item >= druidID and player4item >= druidID then

i think now i am just makign the player an item or some thing?

the script most work like player 1 is knight and he most have items ID 1004 and players 2 is pally and most have 1003 player 3 is druid most have 1002 and player 4 is sorc it most have 1001 item id in his bp to get teleported.

The Point of this part of the script is that it check for a items in each player bp.

so if any one could help me out would appreciated.
 
Back
Top