08.01.2011, 15:02
pawn Код:
CMD:compraroupa(playerid, params[])
{
new id;
if (IsPlayerInRangeOfPoint(playerid, distanзia, x, y, z) )
{
if (sscanf(params, "u", id) return SendClientMessage(playerid, 0xFFFFFFFF, "Use: /compraroupa id.");
SetPlayerSkin(playerid, id);
}
return 1;
}
pawn Код:
new roupa;
pawn Код:
roupa = CreatePickup(estilo, tipo, x, y, z, mundo virtual);
pawn Код:
if (pickupip == roupa)
{
//Funзгo.
}