Search Results
Quote: Originally Posted by jamesmith12 Choose what you like Love the first one, thank you!
227
Name: Shadowdog Text Color: Orange (matching the hair) Sub-Text: X-Studios Backround or Theme ID : 5 Additional Info: Beautiful Transparent Border yes/no : Yes
227
It will return 0 if either string is empty. Vehicle IDs start at 1. So start your loop at 1 with: new x = 1.
102
PHP код: savePlayer(playerid) {     if(sInfo[playerid][logged]==0)return 1;     //Speichern level,money     new query[128];     format(query,sizeof(query),"UPDATE `user...
186
That is for gametexts. You can try it in Client Messages but I'm not sure if that would work.
162
I don't think you can get the keys into you Client Message unless you write something you like: 'Your fire key (default LMB).
162
House 19505 uses inside 19506. House 19503 uses inside 19504.
122
PHP код: stock SaveData(playerid) {     new query[128];     mysql_format(mysql, query, sizeof(query), "UPDATE `playerdata` SET `Admin`=%d, `VIP`=%d, `Money`=%d, `Helper`=%d,Â...
218
I assume this is object id 19509? Add object 19510 at the exact same coordinates and it should create the insides.
122
Can you post the format code for that query?
218
[16:36:52] [ERROR] mysql_format - destination size is too small That would tell you your destination string is too small for the query. Make it a bit more and see if it solved the problem.
218
GetPlayerColor returns 0 when the color is not set or the player is not connected. I would highly recommend setting a variable for the player's color, but if you really want to get their color, appro...
151
PHP код:     CMD:busdriver(playerid, params[])     {     if(Bus_Driver[playerid] == 1)     {     new string[256], busdriver[MAX_PLAYER_NAME];     GetPlayerName(play...
89
Simple, in your top code, you state: BD_Steps[playerid] = 1; while the first case is 0.
89
The distance in San Andreas is measured in Meters, therefore your current function is in meters. To get it to miles, do: PHP код: Float:Distance = GetDistanceBetweenPlayers(playerid,ID) *Â...
93
You could show the player the textdraws, and set a variable if he's in the selection. Then under OnPlayerKeyStateChange, you check if is the player is in the selection. If they press the arrow keys f...
239
From: https://sampwiki.blast.hk/wiki/SetPlayerPosFindZ This function does not work if the new coordinates are far away from where the player currently is. The Z height will be 0, which will likely pu...
118
I'm not sure if that will change anything but you can try. I think your problem is that your textsizes are too big, causing them to overlap. Which will then result in all of them highlighting, becau...
156
From wiki: https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw The clickable area is defined by TextDrawTextSize. The x and y parameters passed to that function must not be zero or negative. Your t...
156
Reset the stats when a player disconnects. When a new player (who has no stat records joins) the stats from the old player are now written to the new one. PHP код: public OnPlayerDisconnect(p...
58