Search Results
Код: new Float:x, Float:y, Float:z; GetVehPos(id, x, y, z); // id = trailer id If(IsPlayerInRangeOfPoint(playerid, 5, x, y, z)) { //Let's code stuff //end of code }
91
Can't use a string in AttachTrailerToVehicle, Need to use an integer. Try using sscanf to convert the params into an integer. Be much easier. Код: new id; sscanf(params, "i", id); AttachTrailerTo...
91
That didn't do anything. Same problem. I didn't think that'd be the case as it would only appear after I've destroyed the vehicle. This is stumping me simply because the first two lines work, but then...
115
Hey guys. Firstly, Thanks for looking at the thread. Secondly: The issue I'm having is when I try to load player cars. I'm getting an error that says "error 032: array index out of bounds (variable "C...
115
Код: public OnPlayerText(playerid, text[]) { new message[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(message, sizeof(message), "%s(%i) says: %s"...
98
You need to put return 1 somewhere where all the code can reach it. Try this. Код: public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == mats) { if(PlayerInfo[playerid][pSupplies...
65
Pawno has a line limit of 512 characters per line. Try this instead. Code: ShowPlayerDialog(playerid, 33, DIALOG_STYLE_MSGBOX, "Report Information", "Hello there player!\nWe, the staff of Land of Ro...
156
You're running the linux version of the plugin in windows. Get the one that's .dll, not .so
107
No need to delete the database. You're only changing the way you deal with data, not how you get it/what comes back from the MySQL Server.
55
Egg on my face: I fixed it....Friend of mine noticed the end els was set to repeating.
54
Quote: Originally Posted by hydravink Try removing <y_ini> include... This is the same reason I couldnt use y_ini and i had to switch to dini What? Y_ini doesn't really cause cr...
222
Have you tried searching? https://sampforum.blast.hk/showthread.php?tid=320382
52
Sounds to me like you need to define "ProxDetector", "GivePlayerCash" (GivePlayerMoney??) and "NOPCheck"... I don't know what NOPCheck does, but here is ProxDetector...http://forum.sa-mp.com/showpost...
77
Index every object you make in an array or something, destroy them when the vehicle gets destroyed and recreate them on vehicle spawn. As for the collision thing, you can try attaching your object to...
71
A bit of ****** work has brought me this: "102 table overflow: table name An internal table in the pawn parser is too small to hold the required data. Some tables are dynamically growable, which mean...
217