shape1
shape2
shape3
shape4
shape7
shape8

/setpos


Статус
Закрыто для дальнейших ответов.

MotoSport

Pawno-Crmp.Ru || Живи вечно!
Пользователь
08.03.2015
921
168
0
23
if(strcmp(cmd, "/setpos", true) == 0) // :D
{
if(PlayerInfo[playerid][pAdmin] < 7) return SendClientMessage(playerid, -1, "У вас нет прав на использование этой команды!");
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /setpos [x] [y] [z] [int] [world]");
new Float:plX = floatstr(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /setpos [x] [y] [z] [int] [world]");
new Float:plY = floatstr(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /setpos [x] [y] [z] [int] [world]");
new Float:plZ = floatstr(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /setpos [x] [y] [z] [int] [world]");
new plInt = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /setpos [x] [y] [z] [int] [world]");
new plWorkd = strval(tmp);
SetPlayerPos(playerid,plX,plY,plZ);
SetPlayerInterior(playerid,plInt);
SetPlayerVirtualWorld(playerid,plWorkd);
SendClientMessage(playerid, COLOR_GRAD2, "Ваша позиция изменена");
return 1;
}

С помощью этой команды вы сможете сменить свою позицию. Это больше всего надо когда делаешь маппинг.

 
Последнее редактирование модератором:
Статус
Закрыто для дальнейших ответов.