Search Results
Quote: Originally Posted by Josh_Main I think that would return them the "you don't have enough money" message but it would still give them the weapon and take their money. The code tha...
79
The first version you made was pretty cool, but the second is much better. The second one has amazing quality, and a slick design. Great job!
411
They all look great. The axe is the best of the three in my opinion; better than what I could do that's for sure.
169
Make sure you have updated your server includes to 0.3z. One of the main reasons for this error is because of the use of an outdated YSI. So if you are using any YSI libraries make sure to download th...
73
Why are you attempting to loop through all players in OnPlayerUpdate? OnPlayerUpdate gets called with all players regardless, so you can remove the loop: pawn Код: for(new playerid=0; playerid<...
131
You're not using all the parameters. It should be something like this: pawn Код: cache_get_field_content(0, "aNick", aNick); //527cache_get_field_content(0, "Date", Date);cache_get_field_content(...
164
Put this arrary of all weapon names in your script: pawn Код: new aWeaponNames[][32] ={    {"Unarmed"}, {"BrassKnuckles"}, {"GolfClub"}, {"NightStick"}, {"Knife"}, {"BaseballBat"},    {"Shovel...
115
Add this somewhere in your script: pawn Код: new Neon[MAX_VEHICLES]; Replace these lines: pawn Код: new neon = CreateObject(18647,0,0,-1000,0,0,0,100);AttachObjectToVehicle(neon, GetPlayerVe...
141
It should be: pawn Код: Create3DTextLabel("TEXT", COLOR, XPOS, YPOS, ZPOS, DRAWDISTANCE, VIRTUALWORLD, 1); You seem to be putting '1' in the virtual world parameter.
58
Quote: Originally Posted by newbie scripter Is there anyway to Connect the "new Object;" with the forward? i mean the object should be defined in the forward too. Yes there is. All you ...
86
pawn Код: format(Query, sizeof(Query), "INSERT INTO `Tabel` (`Nume`, `Bani`, `Ratio`) VALUES('%s', '%d', '%f')", ("Zh3r0"), 500, Float:555 / Float:34); The values you have in the bold text will b...
177
You wrote the wrong player ID in the SetTimerEx function; it should be: pawn Код: SetTimerEx("KickPlayer", 1000, false, "i", giveplayerid); Then remove this line: pawn Код: Kick(giveplayerid)...
120
OnPlayerGiveDamage gets called when you the player hits the skin. OnPlayerTakeDamage gets called when the player recieves damage, so this allows lag shooting still. However the ding is not default so ...
65
It's hard to believe he is really dead. The F&F films are some of my favorite movies. If they continue the series, I wonder how they'll handle his death. Anyways, RIP Paul Walker.
226
Although, you should always post the full code and explain your error, I could see the problem by just looking at the code. pawn Код: if(Masked[playerid] == true) // You had a ';' after the paren...
201
If you are trying to be able to set more than one checkpoint at a time. It is not possible without a streamer. Try using this: https://sampforum.blast.hk/showthread.php?tid=102865
124
It's not working, because I'm guessing this is how you created the variables: pawn Код: new sf;new lsas;new lscg; These variables are all set to 0. So, when the script is going through the first...
134
I have been using Firefox for years. I have tried using Chrome a couple of times but always ended up going back to Firefox...
979
I'm guessing you mean if you can attach a 3DTextLabel to a Pickup. If so, as far as I know it's impossible, but what you can do is create a 3DTextLabel by using Create3DTextLabel and set it at the sam...
95