Search Results
Hi All,
Quick question for which someone will either give me a solution for or tell me to go away and that it isn't possible.
I used to do some scripting on SAMP a while back and wish to get back in...
43
Thanks, knew it'd be something dumb haha
25
That makes me chuckle a bit, I'm sorry...says you need help but then in the same breath you ask someone to just script it for you...
'yutaruta' has basically posted the logic of it for you. Why not a...
26
I dont think he needs a for loop, as his function is passing playerid into it for the PayDay. However, do look up on for loops, they are a vital part of logical coding in any language.
As for your ti...
32
Quote:
Originally Posted by Konstantinos
If enabling camera target (EnablePlayerCameraTarget), retrieving the closest vehicle (GetPlayerCameraTargetVehicle) and then disabling the camera t...
31
Quote:
Originally Posted by Stinged
You should start using GetVehiclePoolSize (Unless you're not using SA-MP 0.3.7)
It retrieves the highest vehicle ID, so instead of 2000 (MAX_VEHICLES), ...
31
Hi all,
I have the following command:
Код:
stock GetClosestVehicle(playerid, Float:range){
new Float:p_X;
new Float:p_Y;
new Float:p_Z;
new Float:Distance;
new Float:Pretend...
31
Quote:
Originally Posted by IceBilizard
you forgot alaram in enum
PHP код:
enum eSpawnedVehicles{
engine,
hood,
trunk,
lights,
alar...
33
Hi all,
I'm currently getting the following errors:
fixed
I'm completely bamboozled by this...Ive been sat here playing around with it for a while, and can't figure out why it's saying the array is...
33
Код:
BizInfo[idx][bPickup] = CreateDynamicPickup(1272, 1, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ], 0);
This line is adding the pickup to the virtual world 0. That's the last parameter...
28
Are all of your plugins up to date? May be worth redownloading the latest version of SAMP-SERVER
22
Only way I can think of, is by having a loop (maybe every 10 minutes or whatever) in your server script, which checks the value in the database. Then compare that value with the value that is loaded i...
31
Quote:
Originally Posted by TheHonnor
Well, I have already tried with enumerator. I used a variable to store the id for each report.
But actually, my problem is , that i don't know how to ...
29
Hi,
Why not create an enum for the reports, and store the data for each one in an enum. This will make it a lot easier to track and delete a certain report.
EDIT: Assuning youve already done the abo...
29
Quote:
Originally Posted by vikoo
delete all in pwn ?
Yes..if you don't want the vehicle to despawn, find what I said and delete it..that's what will be despawning the vehicle.
Howeve...
26
Look for a piece of code in your /vsell command where it has something like:
Код:
DestroyVehicle(vehicleid);
Delete it.
26
You can't really come onto the forums, and ask someone to make an entire system for you..If you're having to do that, I'd politely suggest that you may need to learn some basics before hand (No offens...
34
If you're going to build a script/server that's actually going to save user data, so that when they log back into your server, their data can be loaded again(E.g. skin id, killCount, deathCount, etc.)...
22