Search Results
Yes i know need to escape, but i just ask for this specific function, do i need?
36
Hi,
Код:
stock randomString(strDest[], strLen = 10)
{
while(strLen--)
{
new nntte = random(3);
if( nntte == 0 )
{
nntte = random(26) + 'A';
}
else if( nntte =...
36
http://php.net/manual/en/function.sscanf.php
But in php function sscanf they are different? so in sa-mp function sscanf?
66
So there is not specific situations when should i need to use %i or %d ?
66
Hi,
Server wait until OnPlayerDisconnect get called for playerid, until new player can connect to that ID?
52
Hi,
Do i need reset player money to zero? ResetPlayerMoney?
44
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 weapon, it...
25
Hi,
new bool:test;
Код:
if( test == false )
{
test = true;
}
else
{
test = false;
}
I can do this?
23
So just 1 new anystringgg[ 100 ]; is created, No matter how many times function is called?
38
Hi,
When i create variable for example in function
Код:
stock anyfunctioname()
{
new anystringgg[ 100 ];
format( anystringgg, 99,"blablabla");
SendClientMessageToAll(-1, anystringgg )...
38
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?
34
Hi,
when crash detect reports array error like
new array[ 50 ][ 50 ];
array[ -1 ] = "lasd";
So this can off or harm server?
42
Hi,
Why i make new mysql insert, string by default is null?
27
Code:
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;
...
51
Hi,
https://sampforum.blast.hk/showthread.php?tid=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?
51
Do i need escape email i send? because player can write own email and i send to that text
2,981
Hi,
If i create array
new anystring[ 100 ][ 10 ];
So when i on gamemode anystring in all array slots are null?
38