Search Results
Quote: Streaks[killerid] += 1; Should not it be Streaks[killerid] ++; ?
69
Lol im so dumb i forgot about the objectid if(objectid == blabla) etc thx anyway
51
Hey there. Is there a chance how to detect which object just stopped from moving in OnObjectMoved? Just the object not his position. Thanks
51
Next time try to search btw. edited for your admin level Код: stock SendMessageToAdmins(text[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(PlayerInfo[i][pAdmin] >= 5) ...
126
It is possible, here is simple example Код: new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "[M]%s", name); SetPl...
102
Use some of the Textdraw editors to do that. For example: http://forum.sa-mp.com/showthread.ph...extdraw+editor
125
OnPlayerConnect: Код: SetPvarInt(playerid,"Test",1); when firstly spawned add to line: Код: SetPvarInt(playerid,"Test",0); and add condition to your script (GetPVarInt) + EDIT health on spawn ...
157
then make SetPVarInt for onplayerconnect with value 1. when firstly spawned set SetPVarInt value to 0 and then in that script add if(GetPVarInt... == 0) blah blah BanEx...
157
This is bullshit coz it will destroy everyones Item. I just need when the current player destroys it (via dialog), it will change the HaveItem = 0 (done) and other player won't see that Item-Object an...
151
this one is for destroy Код: for(new i; i<MAX_PLAYERS_EX; i++) { DestroyPlayerObject(i,Item[playerid]); } this one is for create Код: new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x...
151
try this... Quote: if(dialogid == DIALOG_SELECT) { if(response) { if(listitem == 0) { TogglePlayerSpectating(playerid, false); SetPlayerTeam(playerid, 0); } } else if(!response) { KickPla...
131
Than do it for example via textdraw or gametext, it spams SendClientMessage because the server is still checking if the player is in radius of that coordinates
135
for example like this - its in onplayerdisconnect - tested in game, object didin't disappear Код: for(new i; i<MAX_PLAYERS_EX; i++) { DestroyPlayerObject(i,Item[playerid]); } //the Item is Ite...
151
Dude just change then the coordinates from 1958.33, 1343.12, 15.36, 269.15 to 1549.6141,-1675.5640,15.0438,91.6558 And that random spawns, check this out - https://sampwiki.blast.hk/wiki/Random
75
If you want what you wrote, do this: Код: new carid = GetPlayerVehicleID(playerid); if(IsPlayerInRangeOfPoint(playerid, 4.0, 1296.2551,-1863.5883,14.5189)) { if(IsPlayerInVehicle(playerid,carid))...
135
In that script you only have bravura and landstalker to buy?
73
Hello there sa:mp scripters. I have a problem with one of my scripts. I used CreatePlayerObject and when i chose in dialog to destroy that PlayerObject (DestroyPlayerObject function) it didn't work -...
151