Search Results
Quote:
Originally Posted by thimo
No indeed... It just checks whether the leader has a job. If yes it starts the job for everyone. Now how will i not make it activate when theres only 1 gu...
75
For the textdraw problem you have to show the textdraw to a player: https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
Also I recommend you use https://sampforum.blast.hk/showthread.php?tid=117851 ...
95
Convoy_StartMemberJob doesn't even activate Trucker_StartRandomJob
75
I believe you will have to use format. Here's an example:
Code:
format(string,sizeof(string),"2Name: %s",PlayerName(endid));
IRC_Notice(botid,user,string);
And just repeat this with all lines
70
Quote:
Originally Posted by l1lwayn3
thanks man, you"re the best
problem solved
No problem
104
Quote:
Originally Posted by l1lwayn3
thanks, now it works, but i got another errors now
(54116) : error 029: invalid expression, assumed zero
(54116) : error 001: expected token: ")", but...
104
Try
Код:
while (index < length && string[index] <= ' ')
104
Here's how my 0.ini (0 is house id) looks like:
pawn Код:
[Main]EnterX = 1898.003784EnterY = 729.104370EnterZ = 10.819780InsideInt = 0InsideVir = 0OutsideInt = 0OutsideVir = 0Price = 100000Level =...
112
I just tried to print out at LoadHouseData_Main and at both stages of LoadHouses and i got all the prints out successfully.. Sounds like it goes trough everythign but sets something wrong?
112
Still doesn't load it. Here's my full house code:
pawn Код:
#define MAX_HOUSES 200new HouseMapIcon[MAX_HOUSES],Text3D:HouseLabel[MAX_PLAYERS];enum hInfo{Â Â Float:hEnterX, //Entrance X. It's an ...
112
This is my code I use for loading houses. It should load the house because there is all needed information in the scriptfiles, but i don't why it wont :/
pawn Код:
stock LoadHouses(houseid){Â Â ...
112
Код:
cache_get_row_float(row, idx, connectionHandle = 1);
100
OnPlayerDeath... then loop trough all players and if they are cops give them 100$
pretty much simple :P
81
Now I'm getting a bunch of weird errors:
pawn Код:
stock SaveHouse(houseid){Â Â new file[64];Â Â format(file, sizeof(file), "/Houses/%d.ini", houseid);Â Â new INI:File2 = INI_Open(file);Â Â...
87
pawn Код:
stock SaveHouse(houseid){Â Â new INI:File2 = INI_Open("/Houses/%d.ini"(houseid)); //line 1970Â Â INI_SetTag(File2, "Main");Â Â INI_Float("EnterX", HouseInfo[houseid][hEnterX]);Â Â...
87