14.01.2011, 11:47
pawn Код:
#include <zcmd>
pawn Код:
CMD:ir(playerid, params[])
{
new id;
new interior = GetPlayerInterior(id);
new Float: x, Float: y, Float: z;
if(sscanf(params, "u", id) ) return SendClientMessage(playerid, 0xFFFFFFFF, "Digite: /ir id.");
GetPlayerPos(id, x, y, z);
SetPlayerInterior(playerid, interior);
SetPlayerPos(playerid, x, y, z);
return 1;
}