Search Results
Use the script request thread if you're not going to make any effort in trying it yourself
113
you need something like this pawn Код: if ( [admin level] < 1337)  return 0;
81
http://forum.sa-mp.com/index.php?action=search
145
https://sampwiki.blast.hk/wiki/Animations
152
you could try something like this pawn Код: if (strcmp(cmdtext, "/am", true) == 0){  new string[128];   // strmid(destinaton, source, index start, max length)  strmid(string, cmdtext, strfind...
61
look at OnPlayerCommandText, is there a "return 1;" at the end? if so remove it
109
result is an integer, so it should be %d%% (if you want to show percentages) - it should print something like "43%" %d = integer %% = percent sign
151
at then end of every command add pawn Код: return 1;
602
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds - the lazy mans way
149
Plenty of house scripts are already available
8,132
Quote: error 025: function heading differs from prototype your public heading differs from your forwarded heading, redo it. Quote: warning 225: unreachable code ...
185
well, the interior ID is wrong, try a few different ones.. 0-20 or something.. or just look it up
301
pawn Код: new Float: checkpoints[][3] = {  { 379.9200,2223.7539,42.0938},  { 901.1568,1998.0510,60.9141 },  { 1713.6024,1605.5175,10.0156 },  { 2597.7217,2269.4827,10.8133 },  { 523.5439,2590...
114
hmm, well, err... pawn Код: public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp("/help", cmdtext, true) == 0) {   SendClientMessage(playerid,0xFFFFFFAA,"Need help?");   return 1; }...
268
you forgot pawn Код: GivePlayerMoney(playerid,-500)
8,132
this isn't the script request thread you know.. I'd make it something like this pawn Code: new flagged[][] = { { "123.123.123.123" }, { "456.456.465.456" }, { "789.789.789.789" }};public OnPlayer...
134
remember that if you keep it that line the script may crash if it tries to divide by 0...
123
Код: format(myString, sizeof(myString), "%s (%i) kisses the air!", ReturnPlayerName(playerid), playerid); Код: format(myString, sizeof(myString), "%s (%i) gives %s (%i) a kiss!", ReturnPlayerN...
141
pawn Код: new Float: ratio;if (kills[killerid] > 0 && deaths[killerid] > 0)  ratio = kills[killerid] / deaths[killerid];else  ratio = 0; then use the variable to save it, it looks ...
123