Search Results
pawn Код: public onPlayerDeath(playerid, killerid, reason){ if (reason == 50) {   new currentveh;   currentveh = GetPlayerVehicleID(killerid);   DestroyVehicle(currentveh);   SendDeathMe...
177
Oh nice one Unfriendly, totally missed out on that haha.
177
You're missing some steps in your code. You've created the variable 'currentveh', but you haven't actually assigned any value to it. You haven't told the program that currentveh holds the data of your...
177
Check the following points: - Using a plugin? Make sure it's in the plugin folder and working on your host, and that you're using the right one for your OS. - Made a command? Make sure you're using t...
81
Could you post some of the code of the higher jobs? So any job above 7. It seems that in some way, the first if-statement always returns true in your case, resulting in getting the lowest payment. I c...
95
Try to check your OnPlayerDeath callback for any unnecessary empty lines, also try removing any /n or \n, as these create 'new lines'. If that doesn't help, you really have to post your code so we can...
91
Try to be consequent on your programming grammar. SQL likes it when you put quotation marks around variables and their values. Try putting it on all of them. Hope this sorts it out for you
182
Both wrong. Add if(IsPlayerAdmin(playerid)) infront of the command, put the return message on bottom at the brackets.
141
Код: enum pInfo { pKey[129], pLevel, pAdmin, pAdminName[32], pBanAppealer, pGangMod, pDonator, pBanned, pPermaBanned, pDisabled, pIP[16], pReg, pTut, pSex, pAge, pSkin, Float:pPo...
118
- Put plugin in plugins folder & add to server.cfg - Edit all CreateObject lines to CreateDynamicObject (Or w/e the syntax for your streamer is)
92
Use an object streamer, and don't go over the object limit. This occurs when the server's near it's maximum object capacity.
92
Means nothing, it compiles fine. It gives details on how much array sizes youґre using, as unnecessarily high sizes screw everything up. So unless that 1600 is necessary, remove it.
115
Use this: https://sampforum.blast.hk/showthread.php?tid=282801 Select the object in the editor, press 'delete', then click on 'Generate code' and copy that to your script.
114
your format is wrong, put bracket at sizeof, and remove the pragma. and first actually get the player's name before formatting it.
152
Oops my bad, add 'new' infront of it, so it becomes pawn Код: new vehicleid = GetPlayerVehicleID(playerid);
204
Just edited my post with the other lines
204
At pawn Код: SendClientMessage(playerid, "Usage: /repairveh to repair any vehicle"); Add the color. And add pawn Код: vehicleid = GetPlayerVehicleID(playerid);
204