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

Request Script.

Kayan

Active Member
Joined
Sep 19, 2007
Messages
1,561
Reaction score
38
Location
Santa Catarina
Hello i need something like this.

A tile for player. If he has one guild he can pass. Otherwise it will be a new teleporter pair position. It's possible?

:confused:

Please help.. rep ++
 
Here you go, try it!

PHP:
function onStepIn(cid, item, position, fromPosition)
	if isPlayer(cid) == TRUE then
		if getPlayerGuildId(cid) < 1 then
			 doTeleportThing(cid, fromPosition, TRUE)
			 doSendMagicEffect(position, 12)
		end
	end
	return TRUE
end
 
Hello i need something like this.

A tile for player. If he has one guild he can pass. Otherwise it will be a new teleporter pair position. It's possible?

:confused:

Please help.. rep ++


You need a script that is assigned to a tile and if a player walks on this tile and the player is not in a guild they are teleported back?

I'm trying to understand what you mean if so do a search for vocations. You should be able to find and mod a script that checks to see if the player is in a guild. Just use the vocations square as a basic structure.
 
Here you go, try it!

PHP:
function onStepIn(cid, item, position, fromPosition)
	if isPlayer(cid) == TRUE then
		if getPlayerGuildId(cid) < 1 then
			 doTeleportThing(cid, fromPosition, TRUE)
			 doSendMagicEffect(position, 12)
		end
	end
	return TRUE
end

I appreciate your enthusiasm to help people in need but you shouldn't just up and make the scripts for them, atleast give them a basic structure, how else will people learn if you do everything for them.

And gaining reps for helping people with scripts is nothing compaired to the money people are make off your hard work.
 
Back
Top