- Регистрация
 - 26 Сен 2023
 
- Сообщения
 - 413
 
- Автор темы
 - #1
 
			
				Pawn:
			
		
		
		cmd:tpcor(playerid, params[]) {
    if(PI[playerid][pAdmin] == 0) return SendClientMessage(playerid, -1, "Вы не администратор");
    new Float:tmp_pos[3],
        tmp_int;
    if(sscanf(params, "p<,>fffd", tmp_pos[0], tmp_pos[1], tmp_pos[2], tmp_int))
        return SendClientMessage(playerid, -1, "Используйте: /tpcor [x] [y] [z] [int]");
    SetPlayerPos(playerid, tmp_pos[0], tmp_pos[1], tmp_pos[2]);
    SetPlayerInterior(playerid, tmp_int);
    return 1;
}
	
			
				Последнее редактирование: