SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 161
Search took 0.00 seconds.
Search: Posts Made By: Bussyman
Forum: Everything and Nothing 15/12/2017, 05:33 PM
Replies: 161
Views: 10,429
Posted By Bussyman
Forum: Scripting Help 04/09/2017, 07:11 PM
Replies: 4
Views: 657
Posted By Bussyman
Re: random string

Yes i know need to escape, but i just ask for this specific function, do i need?
Forum: Scripting Help 04/09/2017, 06:58 PM
Replies: 4
Views: 657
Posted By Bussyman
random string

Hi,


stock randomString(strDest[], strLen = 10)
{
while(strLen--)
{
new nntte = random(3);

if( nntte == 0 )
Forum: Scripting Help 04/09/2017, 06:05 PM
Replies: 6
Views: 169
Posted By Bussyman
Re: format

http://php.net/manual/en/function.sscanf.php

But in php function sscanf they are different? so in sa-mp function sscanf?
Forum: Scripting Help 04/09/2017, 06:01 PM
Replies: 6
Views: 169
Posted By Bussyman
Re: format

So there is not specific situations when should i need to use %i or %d ?
Forum: Scripting Help 04/09/2017, 05:41 PM
Replies: 6
Views: 169
Posted By Bussyman
format

Hi,

What is difference between %i and %d ?
Forum: Scripting Help 03/09/2017, 03:52 AM
Replies: 2
Views: 136
Posted By Bussyman
onplayerdisconnect

Hi,

Server wait until OnPlayerDisconnect get called for playerid, until new player can connect to that ID?
Forum: Scripting Help 03/09/2017, 03:46 AM
Replies: 5
Views: 170
Posted By Bussyman
Re: OnPlayerConnect

so same is for player score?
Forum: Scripting Help 02/09/2017, 05:36 PM
Replies: 5
Views: 170
Posted By Bussyman
OnPlayerConnect

Hi,

Do i need reset player money to zero? ResetPlayerMoney?
Forum: Scripting Help 01/09/2017, 04:45 AM
Replies: 0
Views: 201
Posted By Bussyman
ResetPlayerWeapons(playerid);

Hi,

ResetPlayerWeapons(playerid);

It's always work when i reset

ResetPlayerWeapons(playerid);
and GivePlayerWeapon(playerid,....);

It's always first reset all weapons and give just that...
Forum: Scripting Help 21/08/2017, 05:51 PM
Replies: 1
Views: 706
Posted By Bussyman
if else

Hi,

new bool:test;


if( test == false )
{
test = true;
}
else
Forum: Scripting Help 19/08/2017, 09:50 AM
Replies: 4
Views: 187
Posted By Bussyman
Re: variable is destroyed?

So just 1 new anystringgg[ 100 ]; is created, No matter how many times function is called?
Forum: Scripting Help 19/08/2017, 09:07 AM
Replies: 4
Views: 187
Posted By Bussyman
variable is destroyed?

Hi,

When i create variable for example in function


stock anyfunctioname()
{
new anystringgg[ 100 ];
format( anystringgg, 99,"blablabla");
Forum: Scripting Help 19/08/2017, 05:13 AM
Replies: 1
Views: 139
Posted By Bussyman
OnPlayerSpawn return 0;

Hi,

If in OnPlayerSpawn i return 0;, it's just difference, that in filterscripts onplayerspawn not be called? so if i don't have filterscripts, return 0; is same as return 1; to me?
Forum: Scripting Help 18/08/2017, 06:50 PM
Replies: 1
Views: 3,760
Posted By Bussyman
syntax error

Hi,

when crash detect reports array error like

new array[ 50 ][ 50 ];

array[ -1 ] = "lasd";

So this can off or harm server?
Forum: Scripting Help 12/08/2017, 06:59 AM
Replies: 0
Views: 92
Posted By Bussyman
new mysql record

Hi,

Why i make new mysql insert, string by default is null?
Forum: Scripting Help 10/08/2017, 04:37 PM
Replies: 3
Views: 155
Posted By Bussyman
Re: sendmail

stock IsCorrectMail(mail[])
{
new len = strlen(mail), bool:find[2], w;
if(!(6 < len < 129)) return false;
for(new l; l < len; l++)
{
if(mail[l] == '.') find[0] = true;
...
Forum: Scripting Help 10/08/2017, 04:31 PM
Replies: 3
Views: 155
Posted By Bussyman
sendmail

Hi,

http://forum.sa-mp.com/showthread.php?t=197755

SendMail function if player can write email, i need to escape before sendmail i can use, or this not need only for mysql funtions?
Forum: Includes 10/08/2017, 04:28 PM
Replies: 137
[Include] My Mailer Include
Views: 67,691
Posted By Bussyman
Re: My Mailer Include

Do i need escape email i send? because player can write own email and i send to that text
Forum: Plugin Development 10/08/2017, 04:06 PM
Replies: 168
Views: 44,119
Posted By Bussyman
Re: Discord Connector

For what this can by used?
Forum: Scripting Help 08/08/2017, 03:04 PM
Replies: 3
Views: 159
Posted By Bussyman
array

Hi,

If i create array

new anystring[ 100 ][ 10 ];

So when i on gamemode anystring in all array slots are null?
Forum: Scripting Help 07/08/2017, 03:11 PM
Replies: 1
Views: 185
Posted By Bussyman
anti cj hack

Hi,

SetTimer( "AntiReconnect", 15000, true );




forward AntiReconnect( );
public AntiReconnect( )
{
Forum: Scripting Help 06/08/2017, 11:54 AM
Replies: 1
Views: 154
Posted By Bussyman
ondialogresponse protection

Hi,

Is there need to make protection, like when i showplayerdialog, and in ondialogresponse i showplayerdialog again with same id, like when player need to write password he write empty string, i...
Forum: Scripting Help 06/08/2017, 05:05 AM
Replies: 0
Views: 134
Posted By Bussyman
sa-mp folder

Hi,

What permissions need to set in ftp for sa-mp server folder? now is default 755 is this good?
Forum: Scripting Help 03/08/2017, 07:37 PM
Replies: 1
Views: 120
Posted By Bussyman
ondialogresponse

Hi,

Returning 0 in this callback will pass the dialog to another script in case no matching code were found in your gamemode's callback.

So if i don't have filterscripts just one...
Showing results 1 to 25 of 161

 

All times are GMT. The time now is 01:50 PM.


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