SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: [MM]RoXoR[FS]
Forum: Scripting Help 16/08/2013, 10:03 AM
Replies: 7
Views: 678
Posted By [MM]RoXoR[FS]
Re: RANDOM FIRE.

I think you should create an array of position's you want like



new Float:pos[15][3] = {
{0,0,0}, //Replace 0,0,0 and 1,1,1 with position's
{1,1,1}, //Do for all 15 positions
.
.
.
Forum: Scripting Help 08/07/2013, 09:31 AM
Replies: 5
Views: 682
Posted By [MM]RoXoR[FS]
Re: Scripting program?

try running as administrator.
Forum: Scripting Help 20/04/2013, 03:45 PM
Replies: 2
Views: 438
Posted By [MM]RoXoR[FS]
Re: screen effects

To do this you must create a textdraw which is slightly red or you can use a Screen Fader (Click me) (http://forum.sa-mp.com/showthread.php?t=124091)
Forum: Scripting Help 08/03/2013, 04:06 AM
Replies: 2
Views: 954
Posted By [MM]RoXoR[FS]
Re: How to make enable/disable Anti Team Kill

Create a global variable


new bool:teamkill = false;//by defaut teamfill is not allowed

CMD:teamkill(playerid,params[])
{
new status;
//Check that he is admin
.
Forum: Scripting Help 08/03/2013, 04:00 AM
Replies: 10
Views: 1,292
Posted By [MM]RoXoR[FS]
Re: How to make Max Player On Team

Change playercount to count.
Forum: Scripting Help 07/03/2013, 11:25 AM
Replies: 10
Views: 1,292
Posted By [MM]RoXoR[FS]
Re: How to make Max Player On Team

You will need a ratio variale

#include <a_samp>


//Your Teams
#define Criminal 0
#define Cops 1

static gTeam[MAX_PLAYERS];
Forum: Scripting Help 07/03/2013, 11:12 AM
Replies: 4
Views: 444
Posted By [MM]RoXoR[FS]
Re: [HELP] SSCANF

Try this


CMD:kill(playerid, params[])
{
new id,string[128];
if(PlayerInfo[playerid][pAdmin] < 1)return NisiAdmin(playerid);
if(sscanf(params, "u", id))return Koristi(playerid, "/kill...
Forum: Scripting Help 24/02/2013, 07:44 AM
Replies: 2
Views: 798
Posted By [MM]RoXoR[FS]
Re: Load/Unload vehicle

new Float:x[MAX_PLAYERS],Float:y[MAX_PLAYERS],Float:z[MAX_PLAYERS],a[MAX_PLAYERS];
new vid[MAX_PLAYERS];
new veh[MAX_PLAYERS];
CMD:v(playerid,params) //using ZCMD
{
new sc[10]; //subcommand...
Forum: Scripting Help 24/02/2013, 07:27 AM
Replies: 11
Views: 752
Posted By [MM]RoXoR[FS]
Re: Spawn Player

Whenever you want player to be teleported to location use

SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3,...
Forum: Scripting Help 24/02/2013, 07:21 AM
Replies: 3
Views: 907
Posted By [MM]RoXoR[FS]
Re: Need help with simple shop menu with 0.3x menus.

This will help you http://forum.sa-mp.com/showthread.php?t=407045
Forum: Scripting Help 24/02/2013, 07:18 AM
Replies: 5
Views: 653
Posted By [MM]RoXoR[FS]
Re: Again... need help with dialogresponse.

If you do not want to encounter error like this in future then add

#pragma tabsize 0


at top of your script below the include's.
Forum: Scripting Help 24/02/2013, 07:16 AM
Replies: 11
Views: 752
Posted By [MM]RoXoR[FS]
Re: Spawn Player

Faied to understand the question. Try ****** translate and post question.
Forum: Scripting Help 23/02/2013, 10:10 AM
Replies: 3
Views: 656
Posted By [MM]RoXoR[FS]
Re: Using zones at death..

I will give you basic info how to get it.


Download Gang Zone Creator : http://forum.sa-mp.com/showthread.php?t=372
Using this get area code for all the 3 cities
Download Streamer :...
Forum: Scripting Help 23/02/2013, 09:53 AM
Replies: 22
Views: 1,625
Posted By [MM]RoXoR[FS]
Re: ZCMD

CMD:clan(playerid,params[])
{
new
sub[10],//store subcommand
rem[20];//to store remaining.
if(sscanf(params, "s[10]s[20]", sub,rem)) return SendClientMessage(playerid, Red, "/Clan [create...
Forum: Scripting Help 22/02/2013, 09:36 AM
Replies: 5
Views: 698
Posted By [MM]RoXoR[FS]
Re: sscanf not working

No code no help
Forum: Scripting Help 22/02/2013, 09:28 AM
Replies: 22
Views: 1,625
Posted By [MM]RoXoR[FS]
Re: ZCMD

You will need SSCANF for that.

Download link : http://forum.sa-mp.com/showthread.php?t=120356

Code :


CMD:clansetlevel(playerid,params[])
{
new id,level,fun[10];
Forum: Scripting Help 01/12/2012, 11:03 AM
Replies: 1
Views: 437
Posted By [MM]RoXoR[FS]
Re: Basic RP spawns

public OnPlayerConnect(playerid)
{
TogglePlayerSpectating(playerid,true);
//And your other functions
}

//After player login do TogglePlayerSpectating(playerid,false);

public...
Forum: Scripting Help 01/12/2012, 10:58 AM
Replies: 7
Views: 877
Posted By [MM]RoXoR[FS]
Re: I need a Imposible Function!! #2

you will get full list of animation here (http://wiki.sa-mp.com/wiki/Animations)
Forum: Scripting Help 01/12/2012, 10:46 AM
Replies: 1
Views: 439
Posted By [MM]RoXoR[FS]
Re: ?? Do something to others command ??

You will need ZCMD and sscanf. There are TONS of tutorials to do this.

A simple command example

CMD:givemp5(playerid,params[])//givemp5 is your command name
{
new targetid;//The id to...
Forum: Scripting Help 01/12/2012, 10:40 AM
Replies: 11
Views: 1,501
Posted By [MM]RoXoR[FS]
Re: I need a Imposible Function!!

THats not impossible

1: Get this : MapAndreas Include (http://forum.sa-mp.com/showthread.php?t=273263)
2.


public OnPlayerUpdate(playerid)
{
new Float:pos[3];
...
Forum: Scripting Help 01/12/2012, 08:04 AM
Replies: 4
Views: 537
Posted By [MM]RoXoR[FS]
Re: Attach Help

When attaching object x,y,z are not location of vehicle but the offset.

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

In your case they are toooo big. Rectify it.
Forum: Scripting Help 01/12/2012, 07:55 AM
Replies: 5
Views: 616
Posted By [MM]RoXoR[FS]
Re: What is problem here?

new tstring[200];
new string[MAX_STRING];

strcat(string,""embed_blue" "embed_white"General Player Status\n");

format(tstring,200,""embed_blue" "embed_white"Name:...
Forum: Scripting Help 01/12/2012, 07:40 AM
Replies: 5
Views: 616
Posted By [MM]RoXoR[FS]
Re: What is problem here?

you can strcat and format in same..
First format the string and then use strcat.
Forum: Scripting Help 01/12/2012, 07:38 AM
Replies: 4
Views: 575
Posted By [MM]RoXoR[FS]
Re: Help me please

****** (http://www.******.com) before asking.
Forum: Scripting Help 01/12/2012, 07:33 AM
Replies: 6
Views: 1,393
Posted By [MM]RoXoR[FS]
Re: I Can Login With Any Password Using Y_ini and WhirlPool, What's wrong?

As you said it is giving you empty line so PlayerInfo[playerid][Pass] is not loading correctly.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 11:48 AM.


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