Search Results
https://sampforum.blast.hk/showthread.php?tid=71648
This might come in handy.
237
@NaS
Isn't there any other solution like
Detaching and re attaching the cam in a repeated timer?
168
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
Use this function in a timer to set the camera's lookat every second
For the x and y parameters , use the getxyinfrontofplayer function
And set t...
168
Code:
new string[64];
for(new i=0;i++;i<sizeof(string))
{
if(string[i]=='\' && string[i+1]=='n')
{
//your function
}
}
i guess this is what you're asking for
122
Return 0 in OnPlayerRequestSpawn if the player is not logged in.
78
You're checking if the parameter is a string and in the next sscanf line you're checking if it's an integer. It can't be string and integer at the same time.
Use optional parameters
Код:
if(ssca...
106
My server's host only contains last 1000 lines of the chatlog.
So i decided to make a manual one using file functions or yini.
This log would contain all chats and commands.
Now i think when the serve...
63
You didn't give any string size to Thing.
Change
new Thing;
to
new Thing [64];
172
Still looking for a solution
131
I use pawno editor only
and recently when i tried to create a stock , my pawncc crashed . i removed that stock and it worked again.
but only from then i'm having this problem.
131
PHP код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if (dialogid == DIALOG_TOYS)
    {
        if(response)
        {
 Â...
114
I don't know why , but for the past few days whenever i compile my script (its located at D:/gta sa/samp server/gamemodes/) , the amx file is also created at the root of the disk (that is at D:/). Is ...
131
You need to update your Microsoft Visual C++ package
Try the 2015 version
109
I've added some objects to show up near the player's pos in OnPlayerRequestClass
I've made them as dynamic objects to show up only at a particular world.
Now there's a problem , the objects don't appe...
76
You could use streamer's function
CreateDynamicRectangle and use IsPlayerInDynamicArea which is more comfortable
I believe streamer has functions to create circles too if that is what you're looking...
102
What's the equivalent code for this using memset or memcpy
Code:
new Var[MAX_PLAYERS][MAX_PLAYERS];
foreach(Player,i)
{
Var[i][playerid]=0;
}
I really cant figure out a way to do this
1,891
Well, i've been trying to learn sqlite. In many tutorials i saw that some strings were passed through DB_Escape function. But in 0.3.7 , i believe theres's a native '%q' operator which does the functi...
107