Search Results
Hello there. Whenever you get "error 035: argument type mismatch (argument #)", it basically means you're giving the wrong type of data to a function. The # will tell you which argument or parameter ...
107
Ok. Quite a request there =p. Regarding the command itself, there should be a limit as to how often the player can use this. You could use PVars to record the last time the player used the command, t...
161
Hello. Correct me if I'm wrong, but you want a system where players can register accounts for their user names. Then, when someone connects and their user name has already been registered by someone e...
161
Hello. Whenever you get the warning: Quote: warning 219: local variable "VARIABLE NAME GOES HERE" shadows a variable at a preceding level It basically means you have one variable ...
116
Hello. Your variable tmp is any array, or you could call it a string in this case. To check if a string variable is equal to a value, you need to use the function strcmp. Here is the SA:MP wiki page...
55
Hello. So, the requirements of this piece of code will be: Код: When the player presses a specific key And there is an object within 1.5 distance from the player Destroy the closest o...
96
Hello. In your section of code, you just need to replace all copies of siren1 with siren1[vid] and siren2 with siren2[vid]. I'm assuming the cell in each array you want to reference is the vehicle ID...
69
Hello. To help you debugging, change that piece of code to this: pawn Код: public OnPlayerRegister(playerid, password[]){    FuncLog("OnPlayerRegister");    if(IsPlayerConnected(playerid))  ...
62
Hello. Please could you provide some code? We cannot diagnose your code (which is creating those problems) if we cannot see it.
104
Hello. Please could you say which plugin you are using? There is more than one MySQL plugin.
117
Hello. So you're saying you have a dialog menu which displays all the statistics of a certain player?
206
This problem you are having seems like the sort of problem to do with most commonly out of date files/missing files. So first, if you haven't already, re-download the plugin, put the plugin file into...
200
You'll need to replace the lock command, or make another command and name it something different (e.g. /vlock and to unlock /vunlock). If you search the Script Files and Includes section for "vehicle...
93
Oh right. Well basically, you need to use "SetPlayerFacingAngle" FIRST, then use "SetCameraBehindPlayer". So first, you need to make the player's character face towards grove street, and then move t...
122
Hey there. So you want the player's CAMERA to be teleported to grove street when the player types /grove?
122
This command seems to be for a house system which uses a vehicle owning system too. If you want a basic "/lock" command which just locks the vehicle you're in, so only you can get in it, this is not ...
93
So you're using everything from this: pawn Code: new lastcommand[MAX_PLAYERS];public OnPlayerCommandReceived(playerid, cmdtext[]){    if( lastcommand[playerid]!=0 && gettime()-lastcommand[p...
282
Ah that's good news. Now the way to find out what is causing the problem is to move the "/*" further down the section of code, which will result in more of the code being called and eventually, the q...
105
Oh sorry. Change pawn Code: public OnPlayerCommandPerformed(playerid, cmdtext[], success){    if(success){        lastcommand[playerid]=gettime();        //sets the variable to the current ...
282
Hello. You need to format your query BEFORE you use it in mysql_function_query. Right now, your query is doing this: Username=%s Money=%d Score=%d IP=%s TOS=%s You need to format your string befor...
135