12.11.2011, 11:30
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
But i really don't know well thanks in advance
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;
}