Search Results
Here it's the inc. https://pastebin.com/fWwdPtdx It's pretty messy...
3,936
Quote: Originally Posted by CantBeJohn No, it's not. Your code and the OP's is an infinite loop. Damm, i just make a little mistake, pressed the key on my keyboard a bit down, instead o...
289
The problem it's on CarSpawns var. Can u show us how u defined it?
256
Here it's all u need. https://sampwiki.blast.hk/wiki/File_Functions But my advice it's to use ******, the y_ini include.
315
What type of mysql do u using?
74
Quote: Originally Posted by ReD_HunTeR use variable to count, if count is 0 then send bag is full msg pawn Код: new iCount = 0;for(new i = 0; i < 10; i++){    if(Bag[playerid][i][...
289
I guess u get a spam of msg, and u want to show it just when all slots are unavaible (when bag it's full) Код: new i; for(i = 0; i < 10; i++) { if(Bag[playerid][i][Slot] == 0) { Bag[player...
289
Can u show us the console error?
255
Код: #define MAX_PICKUPS 2 new Pickups[MAX_PICKUPS]; public OnGameModeInit() { Pickups[0] = CreateDynamicPickup(1314, 1, -2334.0427, -3311.5967, 195.1423); Pickups[1] = CreateDyn...
173
Yes, 1 "task" of 1000ms it's better and safe. Код: task GlobalTimer[1000]() { foreach(new i : Player) { //All functions for player who need looped. (Ex: OnPlayerIsIn...
292
Try use cache_get_value_name. cache_get_value_name(0, "isidarbino", pInfo[playerid][workingSince], 31);
231
To check if the player it's on ground, u can also check the player state first, then for more accurately, u can check the animation of the player,
206
Change this Код: GetNumberOwner(number) { foreach (new i : Player) if (Player[i][PhoneNumber] == number && Player[i][HasPhone] == 1) { return i; } return INVALID_PLAYER_ID; } TO Ð...
229
Код: #define MAX_WORLD_CO 4 //You can also add the object ID, after coordinates like so {2443.20, 2872.08, 182.14, 2399/*Object ID*/} new Float:WorldCoordinates[MAX_WORLD_CO][3] = { {2443.20...
207
Quote: Originally Posted by Gammix Update v2.2: - Some minor tweaks/changes to GangZoneCreate. I also tested it for the bug reported in previous post, and so far its working, i am not sur...
837
Can u show us your Car_GetID(vehicleid) and Car_Nearest(playerid) function?
110
Did u use SetPlayerTeam(playerid, 1); ? I think on public OnPlayerEnterCheckpoint don't pass the if. Код: public OnPlayerEnterCheckpoint(playerid) { if(GetPlayerTeam(playerid) == 1) //We don't...
238
Use PlayerTextDrawShow(playerid, Textdraw1[playerid]); to display it. Код: new PlayerText:Textdraw1[MAX_PLAYERS]; public OnPlayerConnect(playerid) { Textdraw1[playerid] = CreatePlayerText...
121
Try to include like this. Код: //... #include <crashdetect> //First #include <YSI\y_timers> //Second //...
108