Search Results
Code:
if(IsAFarmerCar(vehi))
shouldn't it be veh instead of vehi ?
Code:
if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
{
...
152
Код:
new PlayerText:I_text[MAX_PLAYERS] = {PlayerText:INVALID_TEXT_DRAW, ...};
new I_timer[MAX_PLAYERS];
stock I_textShow(playerid, color, text[], time)
{
if(I_timer[playerid] != 0){
if(I...
139
Код:
new random1 = random(10);
new random2 = random(10);
new random3 = random(10);
random2e1_check:
if(random2 == random1)
{
random2 = random(10);
goto random2e1_check;
}
random3e2_check:
...
223
Код:
new gString[128];
new rand_w = random(sizeof(RandomWords));
new rand_pos = random(strlen(text)-strlen(RandomWords[rand_w]));
if(rand_pos+strlen(RandomWords[rand_w]) > strlen(text))
{
f...
174
ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[])
(7 Parameters)
ShowPlayerDialog(playerid, DIALOG_FISHSTYLE_EASY, DIALOG_STYLE_TABLIST_HEADERS, stringkecske, "Kiv...
82
Код:
new RandomWords[][] =
{
"ajm", "utjb", "cjg", "dsae",
"bg", "fb", "ew", "dsf",
",hj", "wr3", "gfr", "mt",
"mgu", "wtm", "vtm", "ef"
};
//in OnPlayerText:
new rand_w = random(...
174
i've changed color codes from ~letter~ to -letter- in order to prevent the use of "~" in the text
Код:
if(strfind(string, "~", true) != -1)
{
return SendClientMessage(playerid, YOUR_COLOR, "...
176
Код:
for(new i = 0; i < strlen(string); i++)
{
if(strfind(string, "~", true) != -1)
{
new pos = strfind(string, "~", true);
strdel(string, pos, pos+1);
}
else
...
176
if(playerData[playerid][DMZONE])
{
if(playerData[killerid][GuyInDMONE])
{
SetPlayerPos(killerid, -62.0927,2473.2788,16.4844);
SetPlayerPos(playerid, -62.0927,2473.2788,16.4844);
}
else if(pla...
77
Use CreateDynamicObjectEx
206
go here: https://pawnokit.servak.org/en/tools/soundsbase.html
110