SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 351
Search took 0.01 seconds.
Search: Posts Made By: -=Dar[K]Lord=-
Forum: Server Support 31/05/2019, 08:14 AM
Replies: 6
Views: 671
Posted By -=Dar[K]Lord=-
Re: Plugin failed to load

I don't think x64 plugins will work since the server executable is a 32 bit (x86) version. Also, it is impossible that you cannot compile it in x86. Which IDE are you using?
Forum: Scripting Help 02/07/2016, 05:20 PM
Replies: 14
Views: 701
Posted By -=Dar[K]Lord=-
Re: Gate newkeys problem and other

And Even a variable problem i suppose


public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (job[playerid] == POLICE)
{
if ((newkeys & 8 &&...
Forum: Scripting Help 30/06/2016, 06:41 AM
Replies: 6
Views: 1,388
Posted By -=Dar[K]Lord=-
Re: Transparent colors on radar

The color format is as follows:

"0xRRGGBBAA"

RR = Red
GG = Green
BB = Blue
AA = Alpha

FF = Highest value = 255
Forum: Scripting Help 20/11/2015, 12:02 PM
Replies: 18
Views: 1,147
Posted By -=Dar[K]Lord=-
Re: Ban System

Well ... if you want a range ban system what you can do is take the ip as a string and loop till the second set of number (i.e. till the third ' . ') . Store one set of range ban ips in a seperate...
Forum: Scripting Help 18/09/2015, 04:04 AM
Replies: 6
Views: 646
Posted By -=Dar[K]Lord=-
Re: after spawning, player doesn't get his/her weapons

Echo the variables(weapon variables) and check if all the variables are assigned correctly on load.
If not there is some problem while assigning the weapon ids to variables
Forum: Scripting Help 22/04/2015, 02:53 AM
Replies: 7
Views: 413
Posted By -=Dar[K]Lord=-
Re: Warning 202

Show us your ShowPlayerDialogEx function search for it in the script it might be a stock or public function.
Forum: Scripting Help 22/04/2015, 02:51 AM
Replies: 7
Views: 413
Posted By -=Dar[K]Lord=-
Re: Warning 202

Show us the line which is giving the error ....

Its because of the custom functions you have created you are missing some parameters or arguments in that.
Forum: Scripting Help 26/03/2015, 01:22 AM
Replies: 9
Views: 653
Posted By -=Dar[K]Lord=-
Re: Player 1 is not online but he is (ONLY PLAYERID 1)

Try this...


if(!IsPlayerConnected(id))return SendClientMessage(playerid,COLOR_RED,"Player is not online");
Forum: Scripting Help 16/03/2015, 05:07 AM
Replies: 5
Views: 762
Posted By -=Dar[K]Lord=-
Re: error 037 for a CMD

This is because you are trying to use "\" backslash. It is used for escape characters like \n\t . If you donot put infront of it its non terninated string. So better use something else rather than \...
Forum: Scripting Help 02/03/2015, 01:08 PM
Replies: 10
Views: 677
Posted By -=Dar[K]Lord=-
Re: Data is not OverWriting

http://wiki.sa-mp.com/wiki/File_Functions

What you have to do is first delete the line and re append the data you need.


Check out the wiki.
Forum: Scripting Help 25/02/2015, 12:22 PM
Replies: 11
Views: 1,068
Posted By -=Dar[K]Lord=-
Re: GetCameraFacingAngle?

http://www.geom.uiuc.edu/docs/reference/CRC-formulas/node52.html

Have a look at it it gives you the angle made by vectornwith x y z coords in 3d space

Ps. Its not a coding site its all about...
Forum: Scripting Help 25/02/2015, 11:02 AM
Replies: 4
Views: 443
Posted By -=Dar[K]Lord=-
Re: multiple command

You can do that by using strings in sscanf

Ex.

sscanf(params,"s[128]",invitationtype))


And then use strcmp for comparing if string matches any one of case or you can use numbers for that
Forum: Scripting Help 25/02/2015, 10:58 AM
Replies: 2
Views: 549
Posted By -=Dar[K]Lord=-
Re: GameTextForPlayer

Ok what you can do is initiate a new timer after showing the gametextforplayer in the timer function set the timers interval to 2000 or so?

Keep it for day 2500 so its ... 2.5s initiated after...
Forum: Scripting Help 25/02/2015, 06:56 AM
Replies: 5
Views: 462
Posted By -=Dar[K]Lord=-
Re: car model rotation HELP

You can by incrementing the CURRENT ROTATION by a very small amount and putting it in a timer. Remember rotation variablr should be a float and global variable...

An example

new Float:zrot =...
Forum: Scripting Help 25/02/2015, 06:40 AM
Replies: 5
Views: 1,328
Posted By -=Dar[K]Lord=-
Re: Plugin socket failed to load at starting server

Make sure you are using a stable version and a version that supports the current samp version. Check if you have placed the plugin file in correct directories. Check the format which your OS supports.
Forum: Scripting Help 25/02/2015, 06:37 AM
Replies: 4
Views: 379
Posted By -=Dar[K]Lord=-
Re: plz help me!

http://wiki.sa-mp.com/wiki/SetPlayerArmedWeapon

You should get the data of the player about what weapon he has and then set the armed weapon as per as you want....
Forum: Scripting Help 25/02/2015, 05:48 AM
Replies: 3
Views: 348
Posted By -=Dar[K]Lord=-
Re: Help with /ip

Actually you are trying to convert a string to integer type this causes the conversion of the strings value in integer so if you want to format an array to a type you should use these..

%s -...
Forum: Scripting Help 24/02/2015, 05:10 PM
Replies: 4
Views: 379
Posted By -=Dar[K]Lord=-
Re: plz help me!

Check for the players state on shooting... If the player is a passenger then donot pass this message.
Try this code..


public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX,...
Forum: Everything and Nothing 23/02/2015, 01:00 AM
Replies: 210
Views: 14,412
Posted By -=Dar[K]Lord=-
Re: Best game that you ever played!

Metal Gears Rising Revengance
Forum: Scripting Help 23/02/2015, 12:57 AM
Replies: 5
Views: 1,039
Posted By -=Dar[K]Lord=-
Re: aduty command

CMD:aduty(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, -1, "You are not authorized to use this command.");
if(PlayerInfo[playerid][pAdmin]...
Forum: Tutorials 23/02/2015, 12:19 AM
Replies: 11
Views: 1,877
Posted By -=Dar[K]Lord=-
Re: Lets start scripting Pawno[the basic]

Same here...

Well to be more precise tell them what are parameters of a a function what happens when you dont pass correct/or insufficient parameters to a function. Some function donot require a...
Forum: Scripting Help 23/02/2015, 12:05 AM
Replies: 4
Views: 948
Posted By -=Dar[K]Lord=-
Re: Admin Warning System help

whats wrong with me ._.

Ok you are doing it really wrong. Heres what you really do.
(Not everything wrong but a part was wrong and a line was to be added)
1. You get targetid.(you have done...
Forum: Scripting Help 22/02/2015, 05:57 PM
Replies: 4
Views: 948
Posted By -=Dar[K]Lord=-
Re: Admin Warning System help

if(PlayerInfo[playerid][pAdmin] < 2) {

PlayerInfo[playerid][pAdminWarns] = PlayerInfo[playerid][pAdminWarns] + 1;
format(string, sizeof(string), "AdmWarning: %s has warned admin %s...
Forum: Scripting Help 22/02/2015, 01:23 PM
Replies: 5
Views: 538
Posted By -=Dar[K]Lord=-
Re: warning 202: number of arguments does not match definition

Strcat concats i.e. joins two "strings" so you cannot format a string in the function there itself... Your code should be like


new str[10];...
Forum: Scripting Help 22/02/2015, 03:54 AM
Replies: 2
Views: 401
Posted By -=Dar[K]Lord=-
Re: Vehicle System Help

Well i actually didn't get your point. But i can suggest you is that you can use "playername_numberofvehicle" ... Explain your problem again didnt get you.

Ps: i can see you are trying to create...
Showing results 1 to 25 of 351

 

All times are GMT. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.