Search Results
Updates are over. Wait another 2 years before 0.3.8
15,806
Can you show us your Fuell declaration, like "new Fuell..."?
82
You have to call these functions in code of other functions:
pawn Код:
TogglePlayerControllable(playerid,0);SetPlayerCameraPos(playerid, 1489.8673,-1603.2789,54.3335);SetPlayerCameraLookAt(playeri...
73
Zones are 2D rectangles, so you don't need to pass Z-coordinate. You only need to use hExteriorX and hExteriorY.
131
where do you get "id" variable?
pawn Код:
format(result, 128, "SELECT * FROM `cars` WHERE `ID` = '%d'", id);mysql_query(query);
The code loads only vehicle with this id. To load the player's vehi...
114
No, I mean the lines where you define HouseInfo var. i.e. like "new HouseInfo[MAX_HOUSES] = ..."
69
pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 10.0, -2450.6028, 161.1246, 35.1210) || !IsPlayerInRangeOfPoint(playerid, 4.0, 2958.0425, -1393.6724, 5.5500)) || !IsPlayerInRangeOfPoint(playerid, 4...
66
You can, but u have to do it manually. Or you can just get a random number whenever you need the car price.
131
You are using sscanf function. Did u update sscanf plugin? And try this code.
pawn Код:
COMMAND:mute(playerid,params[]){ new Target, seconds; if(!sscanf(params, "...
93
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
66
do you break the line with Enter after word "personal."?
94
Firstly, you have such unacceptable condition:
pawn Код:
if(seconds != 0){...}else if(seconds >= 0){...}
It won't work because all numbers except for 0 will lead to the first 'case' and 0 will...
93
make the alpha parameter in the color lower i.e. 0xFF7755FF -> 0xFF775599
96
No, you cannot do that. You can use only keys from this list: https://sampwiki.blast.hk/wiki/Keys
71
It happens because string "/me" is prefix of string "/me2". So when you compare first three symbols in "/me" and "/me2" it says that they are equal. It's better for you to use command processors to av...
83
https://sampforum.blast.hk/showthread.php?tid=486877
you can use this and included tutorials
204
I believe this happens due to lots of case statements(because it stops to crash for me when u comment some of them). I advise you to use binary search which is a very fast way to set rank especialy wh...
87
so you have to save the names somewhere like in a database or in a file. and then load them from the file or the database when somebody loads your webpage
215