[HELP] /enter and /exit COmmands
#5

Quote:
Originally Posted by RASTAFARIAN
Посмотреть сообщение
Ugh I mean, how do you script Multiple ones

This: is my Code but it says "Loose Indentation"

if (strcmp("/enter", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,20,1381.9976,-1088.7949,28.0556))
{
SetPlayerPos(playerid,793.12158203125, 157.19657897949, 1003.3627319336);
SetPlayerInterior(playerid, 1);
if (strcmp("/enter", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,10,1480.9829,-1769.9470,18.795)
{
SetPlayerPos(playerid,388.8720,173.8050,1008.382 ;
return 1;
like this:

(/enter){
if(playertopoint(blah){
TELEPORT
}else if(playertopoint(blah)){
teleport
}
}

as much as u want...

thats the layout for it, if you want me to write one up in ZCMD just PM me
Reply


Messages In This Thread
[HELP] /enter and /exit COmmands - by RASTAFARIAN - 20.09.2010, 20:55
Re: [HELP] /enter and /exit COmmands - by Voldemort - 20.09.2010, 20:57
Re: [HELP] /enter and /exit COmmands - by RASTAFARIAN - 20.09.2010, 21:11
Re: [HELP] /enter and /exit COmmands - by Voldemort - 20.09.2010, 21:16
Re: [HELP] /enter and /exit COmmands - by DarrenReeder - 20.09.2010, 21:18
Re: [HELP] /enter and /exit COmmands - by RASTAFARIAN - 20.09.2010, 21:18

Forum Jump:


Users browsing this thread: 1 Guest(s)