SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 65
Search took 0.00 seconds.
Search: Posts Made By: Untonyst
Forum: Русский/Russian 11/08/2016, 09:37 PM
Replies: 15,922
Views: 2,427,191
Posted By Untonyst
Re: Скриптинг курилка

_: - тег целочисленных значений по дефолту
Float: - тег значений с плавающей точкой

А может ли число с точкой быть целочисленным значением?))
Forum: Tutorials 11/08/2016, 09:21 PM
Replies: 9
[Tutorial] Ternary operation
Views: 4,756
Posted By Untonyst
Re: Ternary operation

Инфа по этой есть в учебник от Daniel_Cortez, от того и не захотелось писать в русскую тему, а тут можно повыпендриваться)) Но если уж так надо, то могу написать.
Forum: Scripting Help 15/07/2016, 11:30 AM
Replies: 3
Views: 340
Posted By Untonyst
Forum: Tutorials 14/07/2016, 11:00 PM
Replies: 9
[Tutorial] Ternary operation
Views: 4,756
Posted By Untonyst
Re: Ternary operation

Sorry, but I don't want to add this to my tutorial. In this macro there is no need.



Okay. But ... If to understand the principle of operation of ternary operations, then it is possible to...
Forum: Includes 14/07/2016, 07:54 AM
Replies: 101
Views: 53,951
Posted By Untonyst
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor

No! The limit in length of 31. 32nd this is null-symbol!
Forum: Tutorials 13/07/2016, 10:14 PM
Replies: 9
[Tutorial] Ternary operation
Views: 4,756
Posted By Untonyst
Ternary operation

TERNARY OPERATION

In this tutorial I will tell you about ternary operator.

In computer science, a ternary operator is an operator that takes three arguments. The arguments and result can be of...
Forum: Tutorials 13/07/2016, 09:34 PM
Replies: 40
Views: 16,873
Posted By Untonyst
Re: Creative & smart scripting techniques - improve performance & readablity in one go

If you are looking for a only one symbol, it is better to use a loop.
If necessary to use a for loop for the whole string, it is not necessary to know the size of the string.


new string[128] =...
Forum: Scripting Help 13/07/2016, 09:02 PM
Replies: 3
Views: 347
Posted By Untonyst
Re: Weapon near. +REP.

Yes. For example

CMD:giveweap(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
foreach (new i:Player)
{
if (IsPlayerInRangeOfPoint(i, 50.0, x, y,...
Forum: Includes 13/07/2016, 08:57 PM
Replies: 14
Views: 2,922
Posted By Untonyst
Forum: Scripting Help 13/07/2016, 08:53 PM
Replies: 6
Views: 407
Posted By Untonyst
Re: Error mysql

mysql_format(mysql, query, sizeof(query), "UPDATE `database` SET `pEXP` = %d, `Premium` = %d, `pAdminLevel` = %d,",
pInfo[playerid][pEXP], pInfo[playerid][Premium], pInfo[playerid][pAdminLevel]);...
Forum: Scripting Help 13/07/2016, 08:45 PM
Replies: 6
Views: 407
Posted By Untonyst
Re: Error mysql

Show your SQl query. Is it possible you put an extra comma.
Forum: Scripting Help 13/07/2016, 08:29 PM
Replies: 4
Views: 360
Posted By Untonyst
Re: Loose identitation

CMD:b(playerid,params[])
{
if(isnull(params))
return SendClientMessage(playerid, -1, ""chat" /b [OOC chat]");

new string[128];

if(pInfo[playerid][pAdminDuty] == 1) ...
Forum: Includes 13/07/2016, 08:08 PM
Replies: 14
Views: 2,922
Posted By Untonyst
Re: u_dlg.inc | ZCMD analog, but with SA-MP GUI

Thank you for such a positive comment! ;)
Forum: Includes 10/07/2016, 03:13 PM
Replies: 14
Views: 2,922
Posted By Untonyst
Re: u_dlg.inc | ZCMD analog, but with SA-MP GUI

Include was optimized. I have temporarily refused some functions :*.
Forum: Plugin Development 17/06/2016, 02:05 PM
Replies: 478
[Plugin] Pawn.CMD
Views: 155,809
Posted By Untonyst
Forum: Русский/Russian 03/06/2016, 07:28 AM
Replies: 660
Views: 161,408
Posted By Untonyst
Re: Коллекция функций / макросов

Твоя функция сфейлилась на [10, 0, -5], но у меня и SoNikMells сфейлились на [-10, -2, -5].
Forum: Русский/Russian 03/06/2016, 07:11 AM
Replies: 660
Views: 161,408
Posted By Untonyst
Re: Коллекция функций / макросов

Сравнивают только два числа, когда мне нужно было больше.
Forum: Scripting Help 02/06/2016, 03:02 PM
Replies: 1
Views: 419
Posted By Untonyst
Re: 12 errors

forward DisplayDialogForPlayer(/* args */);
forward ShowAirlines (/* args */);

What do you have in 3922nd line? Show me your code.
Forum: Русский/Russian 02/06/2016, 02:54 PM
Replies: 660
Views: 161,408
Posted By Untonyst
Re: Коллекция функций / макросов

/*
Узнаем самое маленькое число и самое большое.

GetIntMin(10, 0, 7, -5) - вернет -5.
GetIntMax(10, 0, 7, -5) - вернет 10.

Автор я.
*/

GetIntMin(...) {
Forum: Русский/Russian 14/05/2016, 10:53 AM
Replies: 5
Views: 979
Posted By Untonyst
Re: тюрьма

Условие просто суй куда надо и все.
!!
прошу писать по делу, всяким там, которые хотят готовый код, не писать!!
Forum: Tutorials 10/05/2016, 07:12 PM
Replies: 18
Views: 2,828
Posted By Untonyst
Re: SA-MP Backup - Fed up of losing your PWN file?

You can synchronize your repository, then on your computer will make a backup of your project.
Forum: Scripting Help 09/05/2016, 12:02 PM
Replies: 8
Views: 594
Posted By Untonyst
Re: How to add map into server?

For example you want to add in your mod this map (click me) (http://forum.sa-mp.com/showthread.php?t=601255), then you will copy the code and enter it in the public OnGameModeInit (read me)...
Forum: Русский/Russian 08/05/2016, 08:11 PM
Replies: 660
Views: 161,408
Posted By Untonyst
Re: Коллекция функций / макросов

0x44? Понтокодом попахивает.
Forum: Русский/Russian 07/05/2016, 10:25 AM
Replies: 15,922
Views: 2,427,191
Posted By Untonyst
Re: Скриптинг курилка

Тем, что 0.3 есть, а 0.4 нет :)
Forum: Scripting Help 24/04/2016, 09:35 AM
Replies: 5
Views: 636
Posted By Untonyst
Re: Color Code

u can use this macros as

#define Green #15741b

SendClientMessage(playerid, -1, "White color and {"Green"}green color");

or u can do so

#define Green 15741b
Showing results 1 to 25 of 65

 

All times are GMT. The time now is 04:51 AM.


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