Search Results
You actually don't need this. When someone is shooting at you and then you set your health to 0.0 it won't be not be considered as suicide. The killerid will be the the same person who was shooting yo...
142
Never combine more than one command processor, it will make the other one not being called.
Sabur's code will give you a error because there is undefined function ReturnPlayerName.
Use the GetPlayerN...
209
Quote:
Originally Posted by morris91
iv met many girl gamers on here. i have 4 girls as my admins and tbh i prefer girl admins. Don't know why but they just act better at the job.
Congr...
2,314
Open streamer.inc and search for #define STREAMER_OBJECT_SD.
Change from:
Код:
#define STREAMER_OBJECT_SD 300.0
to:
Код:
#define STREAMER_OBJECT_SD 1000.0
Also change this:
Код:
#define ST...
415
Quote:
Originally Posted by Mijata
I have latest version of streamer, and there are a lot of objects.
Just having the streamer plugin won't work, uou have to convert your object-codes:
...
445
Quote:
Originally Posted by Jeroen52
I'm looking to add a function to darken or lighten a piece of color with a function.
The color is in the format of GetPlayerColor, and I'd like to make...
78,051
Quote:
Originally Posted by andrejc999
I still don't understand how can I go through all of them...
You can't.
I just gave you a better way to reset multiple variables.
Isn't that what ...
529
Quote:
Originally Posted by PrO.GameR
quickest way?
new cleanslot[pPlayerEnum];
PlayerI[playerid]=cleanslot;
Where pPlayerEnum is your enum name and PlayerI is your variable array.
This w...
529
Quote:
Originally Posted by andrejc999
Oh ok thanks... So it's not possible to clear normal variables without doing it manualy?
By normal I mean like
new something[MAX_PLAYERS];
You ...
529
I found that: http://forum.sa-mp.com/showpost.php?...16&postcount=6
Add this under OnPlayerDisconnect().
529
Yes, there is.
Код:
GetClosestVehicle(playerid)
{
new Float:pX, Float:pY, Float:pZ, Float:cX, Float:cY, Float:cZ, Float:distance = 99999.0, Float:distance2, result = -1;
for(new i = 0; i < MA...
316
Quote:
Originally Posted by Hillo
It's not working, the gate isn't opening at all..
It gives these errors:
Код:
(17) : error 017: undefined symbol "GetPlayerPoolSize"
(21) : warning ...
607
Use strcmp to check the player-name.
Setting the last parameter to 4 means that only the first 4 characters will be compared.
Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof...
607
Use strlen for strings.
Код:
format(cNameclans, 20, "%s", strlen(inputtext));
387
Код:
format(cNameclans, 20, "%s", inputtext);
The parameters of format are: (output[], len, const format[], {Float,_}:...)
You don't need "sizeof(string)".
387
Код:
COMMAND:temp(playerid,params[])
{
new string[420];
for(new v=0; v < PlayerInfo[playerid][amountofcars]; v++)
{
format(string, sizeof(string), "%i(%i)", cInfo[v][carmodelid], cInfo[v][...
308
Quote:
Originally Posted by AliBro
Download this Plugin and Inc.
link
Don't download this!
If you want to update your Streamer plugin download from here: https://sampforum.blast.hk/show...
218
Try the SA-MP SoundID Browser by adri1: https://sampforum.blast.hk/showthread.php?tid=373017
Be aware that you can not browse all the Sound-IDs with this.
196
Use PlayerTextDrawSetSelectable before you use SelectTextDraw.
Код:
PlayerTextDrawSetSelectable(playerid, PlayerText:register7[playerid], 1);
SelectTextDraw(playerid, COLOR_YELLOW);
276
Quote:
Originally Posted by Dayrion
Try this :
PHP код:
CMD:dropgps(playerid,params[])
{
    if(pInfo[playerid][pLogged] == 1)
    {
        new Float:fPos[3];
Â...
487