SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: NikitaFoxze
Forum: Includes 16/07/2019, 12:51 PM
Replies: 8
Views: 1,267
Posted By NikitaFoxze
Forum: Scripting Help 06/07/2019, 03:19 PM
Replies: 9
Views: 393
Posted By NikitaFoxze
Re: Map on TD

Raise the topic since the answer was never found.
Everything turns out upside down and everything stuck together.
Help.

// x and y are the coordinates of the player
new Float:tdcord[2];
new...
Forum: Русский/Russian 05/07/2019, 04:10 PM
Replies: 20
Views: 1,271
Posted By NikitaFoxze
Re: Карта на TD

А как мне найти эту относительность (x и y)?
Forum: Русский/Russian 04/07/2019, 07:24 PM
Replies: 20
Views: 1,271
Posted By NikitaFoxze
Re: Карта на TD

Допустим я скачал Map-Radar, но что означают в коде числа 316 и 207?

Код:
if(y < 0) PosY = 207 + 224 * -y / 3000;
else if(y >= 0) PosY = 207 - 224 * y / 3000;
if(x < 0) PosX = 316 - -x * 320 /...
Forum: Русский/Russian 04/07/2019, 01:07 PM
Replies: 20
Views: 1,271
Posted By NikitaFoxze
Re: Карта на TD

Написал кое какой код, он рабочий, вот только всё слипается и вверх ногами всё создаётся (нижняя часть сверху, а верхняя снизу).

// x и y это координаты игрока.
new Float:tdcord[2];
new Float:X,...
Forum: Scripting Help 04/07/2019, 11:51 AM
Replies: 9
Views: 393
Posted By NikitaFoxze
Forum: Scripting Help 03/07/2019, 03:26 PM
Replies: 9
Views: 393
Posted By NikitaFoxze
Re: Map on TD

Write code please.
Forum: Scripting Help 02/07/2019, 11:50 AM
Replies: 9
Views: 393
Posted By NikitaFoxze
Re: Map on TD

The result is this code, but it does not work:

// x and y are the coordinates of the player.
new Float:tdcord[2];
new Float:X, Float:Y, Float:all;
X = maxx;
Y = maxy;
all = maxx + maxy;

Y...
Forum: Scripting Help 02/07/2019, 09:19 AM
Replies: 9
Views: 393
Posted By NikitaFoxze
Re: Map on TD

Thank you!
Forum: Scripting Help 01/07/2019, 03:56 PM
Replies: 9
Views: 393
Posted By NikitaFoxze
Question Map on TD

Hey. Is there a function to recognize the coordinates of the player and display the player on the TD map on one sprite (TD)? If Yes, then write. On some servers I have seen this before....
Forum: Русский/Russian 01/07/2019, 03:23 PM
Replies: 20
Views: 1,271
Posted By NikitaFoxze
Re: Карта на TD

А можно хотя бы пример такого расчёта?
Forum: Русский/Russian 27/06/2019, 04:46 PM
Replies: 20
Views: 1,271
Posted By NikitaFoxze
Question Карта на TD

Короче у меня тут вопрос. Существует ли функция по узнаванию координат игрока и показ игрока на TD карте? Если да, то отпишите. На некоторых серверах я уже такое видел.
Forum: Русский/Russian 26/06/2018, 10:42 AM
Replies: 7
Views: 2,742
Posted By NikitaFoxze
Re: Калкор и вкладка Internet

Мне писал официальный дилер вкладки Hosted ( DIESEL Community ):
https://pp.userapi.com/c845220/v845220878/8c59f/92UJQGdrjSo.jpg
Forum: Русский/Russian 28/03/2018, 06:34 PM
Replies: 4
Views: 1,390
Posted By NikitaFoxze
Re: правильный ли код?

Много лишнего, вот правильно:
if (GetPlayerMoney(playerid) < 1) return SendClientMessage(playerid, 0x00FF00FF, "Вы банкрот.");
Forum: Русский/Russian 26/03/2018, 12:12 PM
Replies: 9
Views: 2,033
Posted By NikitaFoxze
Thumbs up Re: Грамотный код

Спасибо :)
Forum: Русский/Russian 24/03/2018, 08:53 PM
Replies: 9
Views: 2,033
Posted By NikitaFoxze
Forum: Русский/Russian 24/03/2018, 06:39 PM
Replies: 9
Views: 2,033
Posted By NikitaFoxze
Post Грамотный код

Я тут хотел просить как грамотно и правильно писать код, ведь существует много способов :D
Например №1:
stock PayDay(playerid)
{
GivePlayerMoney(playerid, 600);
SendClientMessage(playerid, -1,...
Showing results 1 to 17 of 17

 

All times are GMT. The time now is 11:43 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.