Search Results
It won't respond while server is loading the objects, that why you need to load the objects progressively.
95
You could use a loop to check whoever in the vehicle, then using GetPlayerVehicleSeat function to check whether seats are full or not.
215
Running a server on CentOS 7, getting this error on startup: (lastest MySQL & Log plugins version) Code: [01:15:34] Loading plugin: log-plugin.so [01:15:34] Failed (/lib/libstdc++.so.6: versi...
220
Quote: Originally Posted by Phreak But of someone gets the database wouldn't that mean they also get the salts which would make random salts useless? Edit: At least in this case, where yo...
2,443
You made a condition to check if the player already have an insurance, that would set him an insurance - thats an issue. ex. change: Код: if(PlayerInfo[playerid][pInsurance] == 2) to: Код: if(...
62
Does anyone have a model of an object that doesn't have collisions and is transparent? Please avoid suggesting using MaterialText, this is not what im asking for. Thanks!
67
Quote: Originally Posted by PepsiCola23 you said its a good idea btw . but good luck Yes, I said any ideas RELATED to my request is welcomed. Please avoid from posting just for increa...
96
Quote: Originally Posted by PepsiCola23 Most efficient way is to create a timer that freezes the player when he enters an area where there are a lot of objects for 5 seconds until the obje...
96
Aye When I load a map, I create a pretty much huge amount of objects, and when I spawn the player the objects get streamed all at once, and it usually creates a little lag. How could I prevent it? a...
96
Quote: Originally Posted by Davidmkd123 Just make a function like Код: new Float:Coords[3]; then take the coords by this float Код: GetPlayerCameraPos(playerid, Coords[0], Coords...
74
Does anyone have a function to return SetCameraBehindPlayer's coordinates accurately? I basically want to detect these coordinates without settings the camera behind the player. Cheers
74
Quote: Originally Posted by Lvcnr Are you hosting SA-MP server on the same server which has the mysql server? If so, try connecting to localhost. Otherwise, allow remote connections to you...
148
Quote: Originally Posted by iKarim That doesn't affect your connection at all. However I'd like to know what's the host define you are using, is it localhost? It is the IP address of my...
148
Aye I am getting this error while running my server: Код: Connection::Connection - establishing connection to MySQL database failed: #2003 'Can't connect to MySQL server on host (xx.xx.xx.xx) (11...
148
Yeah well, I've used OnPlayerStateChange as a workaround. Thank you guys anyway.
97
I am trying this: Код: public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); SendClientMessageToAll(-1, "ION just died."); if(IsPlayerInAnyVehicle(...
97
Quote: Originally Posted by PepsiCola23 does this help you ? Quote: ColAndreas is pretty useless in that scenario since its not supporting moving objects. I've wrot...
162
Quote: Originally Posted by dani18 https://sampforum.blast.hk/showthread.php?tid=606308 https://sampforum.blast.hk/showthread.php?tid=446286 First topic is about removing a collision? S...
162
I wonder if anyone has an idea how to detect a collision between two dynamic objects while one of them is a wall and the other one is moving (using MoveObject). ColAndreas is pretty useless in that sc...
162