Search Results
Great stuff guys.
1,063
Code:
for (new i = 0; i != MAX_PLAYERS; i ++)
{
if (LottoNumber[i] != LottoNum) {
SendClientMessage(i, COLOR_WHITE, "{FFFF00}LOTTO: Unfortunately you haven't won the lottery. Good luc...
74
Wow... just wow. This map is astonishing, great work!
Just one thing. It would have been better if you created one variable instead of a huge array, since you don't need to specify a new variable for...
2,149
No...
You haven't got ProxDetector or GetName defined in your script.
56
I have a problem with players and sometimes objects and cars disappearing for a few seconds and then reappearing. It only seems to occur once there are 5 or more players in-game.
Any idea what's goin...
25
How do you fix the streaming inside the prison interior? Everything streams out so fast.
24,630
Better way's to check if a player's health's below the weaponid's damage.
57
Anyone know how to send a player a message stating the name of the area they have just entered?
38
Quote:
What you're trying to achieve is impossible.
You can't.
37
Use the IsPlayerIdle snippet and edit it so that the animation only plays if the player is idle, which means that no other animations are currently playing.
Код:
stock IsPlayerIdle(playerid) {
n...
39
if(!PlayerData[playerid][pMask])
format(string, sizeof(string), "%s %s says: (( %s ))", (PlayerData[playerid][pAdmin]) ? ("{hexcode}"), GetPlayerNameEx(playerid), params);
27
You shouldn't base the owner off the player's name, but rather use their database ID, so you don't have to change the owner's name etc etc everytime a player name changes. Just a tip.
32
if(engine == VEHICLE_PARAMS_OFF || engine == VEHICLE_PARAMS_UNSET)
29
It has a password. I'm using the username "root", and I have input the password.
Also, I can't seem to find the settings page which lets me edit the networking settings, to see the configurations.
143
It's running, and yes I have tried "localhost" instead of "127.0.0.1"
143
https://sampwiki.blast.hk/wiki/Sscanf
https://sampwiki.blast.hk/wiki/Sscanf_code
The 'u' parameter is used for finding a name / id which is connected to the server, and it is returning 65535 (INVALID...
68
Code:
new pVehicle[MAX_PLAYERS];
pVehicle[playerid] = CreateCar(...);
if(pVehicle[playerid] != GetPlayerVehicleID(playerid))
return ... // do something here. i.g: return SendClientMessage(player...
157
Looping through the players with for(new is better if your server is constantly full.
Other than that, I'd go with foreach(new i : Player)
98
Alright, so I installed a MYSQL server and MYSQL workbench. The MYSQL server is up and running, and I can establish connections with it through the workbench applications. The problem is, whenever I t...
143
https://en.wikipedia.org/wiki/Internet_Relay_Chat
You are able to link a third-party IRC to your server through scripting, thus sending IRC messages to the server, and to players whom are online.
52