Search Results
I want to remove the back doors of vehicles, I did a lot of ******'ing but didn't come up with anything. Currently, I am using UpdateVehicleDamageStatus along with encode_doors but it only lets me rem...
115
Quote: Originally Posted by willbedie How can he use foreach in a faction loop? Are you blind or what? He can, with iterators. Don't be rude to people if you are clueless yourself.
147
Change it into this; pawn Код: enum ENUM_PLAYER_DATA{    GangID,     GangIDD,     NameGang[100],     OwnerGang[MAX_PLAYER_NAME]}; new pInfo[MAX_PLAYERS][ENUM_PLAYER_DATA]; Also change th...
131
Quote: Originally Posted by severance Not defined, how do you define it? What is not defined? Show us your pInfo enum.
131
1. You don't have to use gName, you can use params and check the size of params. 2. Why exactly are you using tquery when you aren't going to call a callback? Use mysql_query. 3. Are you sure your Nam...
131
Couple more tips; escape your string to avoid SQL injection. Use %e instead of %s for mysql formats Also limit the result. Use LIMIT 1 at the end of your mysql query. You don't have to find more than...
127
I was looking through Gta United's files but I was unable to locate the radar mod, I've tried exporting the GTA3.img's radar txd into my own GTA files but it didn't work. Does anyone know which file c...
235
You don't need switch nor if statement. All you need is format. I can't give you an example code but wiki is pretty self explanatory. https://sampwiki.blast.hk/wiki/Format
75
You are using the AND operator incorrectly. You have to type a statement before and after the AND operator like this; if(statement && statement) What it does is, it checks if both statements ...
130
Shoe your sendnearmessage function as well as your current /n command
212
Change your sscanf parameter to "s[128]" instead of sz. You have to tell sscanf the size of a string as well. Also, there is no reason not to use sscanf. I know it's a single parameter and sscanf is...
212
Why not use sscanf instead?
212
Instead of bumping, use [ pawn] tag without the space. Your code is a massive pain to read.
213
Your Engine_SET function is faulty, post your Engine_SET function.
255
You haven't initiliazed your i_Vehicles properly, it does not have a starting value. in your for(new i_Vehicles; .........) change it to for(new i_Vehicles = 0; ) Also use this to respawn your cars...
255
pawn Код: CMD:cr(playerid, params[]){    new S[128];    if(Account[playerid][Admin] >= 1)    {        for(new i_Vehicle; i_Vehicle < MAX_VEHICLES; i_Vehicle++)        {     ...
255
The last 3 parameters in MoveObject are the object's rotations. Try messing with them until you get the rotation you want. The first one is rotation in the X axis, the second one is rotation in the Y ...
103
Use else if after your first if statement. In your current code, your server runs each if statement and checks whether or not they are true.
130
Quote: Originally Posted by DerickClark On? Код: OnPlayerEnterCheckpoint Correct.
220
I dont know if I am just sleepy but you are missing a closing bracket } in your switch.
220