Search Results
The color format is as follows: "0xRRGGBBAA" RR = Red GG = Green BB = Blue AA = Alpha FF = Highest value = 255 00 = Lowest value = 0 Alpha is the transparency of the color , thus to make one's ma...
130
Echo the variables(weapon variables) and check if all the variables are assigned correctly on load. If not there is some problem while assigning the weapon ids to variables
173
Show us your ShowPlayerDialogEx function search for it in the script it might be a stock or public function.
148
Show us the line which is giving the error .... Its because of the custom functions you have created you are missing some parameters or arguments in that.
148
Try this... Код: if(!IsPlayerConnected(id))return SendClientMessage(playerid,COLOR_RED,"Player is not online");
163
This is because you are trying to use "\" backslash. It is used for escape characters like \n\t . If you donot put infront of it its non terninated string. So better use something else rather than \ i...
130
https://sampwiki.blast.hk/wiki/File_Functions What you have to do is first delete the line and re append the data you need. Check out the wiki.
194
http://www.geom.uiuc.edu/docs/refere...as/node52.html Have a look at it it gives you the angle made by vectornwith x y z coords in 3d space Ps. Its not a coding site its all about vectors...
305
You can do that by using strings in sscanf Ex. Код: sscanf(params,"s[128]",invitationtype)) And then use strcmp for comparing if string matches any one of case or you can use numbers for that
108
Ok what you can do is initiate a new timer after showing the gametextforplayer in the timer function set the timers interval to 2000 or so? Keep it for day 2500 so its ... 2.5s initiated after first...
72
You can by incrementing the CURRENT ROTATION by a very small amount and putting it in a timer. Remember rotation variablr should be a float and global variable... An example Код: new Float:zrot =...
112
Make sure you are using a stable version and a version that supports the current samp version. Check if you have placed the plugin file in correct directories. Check the format which your OS supports.
186
https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon You should get the data of the player about what weapon he has and then set the armed weapon as per as you want....
126
Actually you are trying to convert a string to integer type this causes the conversion of the strings value in integer so if you want to format an array to a type you should use these.. %s - string %...
95
Check for the players state on shooting... If the player is a passenger then donot pass this message. Try this code.. Код: public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, ...
126
Код: CMD:aduty(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, -1, "You are not authorized to use this command."); if(PlayerInfo[playerid][...
132
Quote: Originally Posted by Vince Apart from the image about the Cartesian system I don't really see anything that hasn't been explained already on the wiki. Same here... Well to be mo...
504
whats wrong with me ._. Ok you are doing it really wrong. Heres what you really do. (Not everything wrong but a part was wrong and a line was to be added) 1. You get targetid.(you have done that) 2....
115
Код: if(PlayerInfo[playerid][pAdmin] < 2) { PlayerInfo[playerid][pAdminWarns] = PlayerInfo[playerid][pAdminWarns] + 1; format(string, sizeof(string), "AdmWarning: %s has warned adm...
115
Strcat concats i.e. joins two "strings" so you cannot format a string in the function there itself... Your code should be like Код: new str[10]; format(str,sizeof(str),"%f",GetPlayerHealth(player...
101