Or Commands ? :S
#1

Hey,

I want to make a CMD:rob etc, So if i wanted to do a CMD:robshop(playerid,params)

I would need to use GetPlayerDistanceFromPoint, How can i make multiple versions of that? i was thinking
pawn Код:
CMD:robshop(playerid,params)
{
       if(GetPlayerDistanceFromPoint(playerid,X,Y,Z)) return SendError(playerid,"You are not in the shop");
       else if(GetPlayerDistanceFromPoint(playerid,X,Y,Z)) return SendError(playerid,"You are not in the shop");
       else if(GetPlayerDistanceFromPoint(playerid,X,Y,Z)) return SendError(playerid,"You are not in the shop");
       else
       {
       Rob Stuff Here
       }
       return 1;
}
But i really don't know well thanks in advance
Reply


Messages In This Thread
Or Commands ? :S - by Michael[NBK] - 12.11.2011, 11:30
Re: Or Commands ? :S - by antonio112 - 12.11.2011, 11:51
Re: Or Commands ? :S - by CSSI - 12.11.2011, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)