Re: Script Request Thread #3
#61

Type of GM:Cops and Robbers Roleplay
How many Scripters I need:1-3(doesn't matter)
Scripters receive:Well I'm sorry i don't have money but you will get admin rights on server be put in the credits and hopefully will get any donations(All) given from any players
What I need to be scripted:Lvrcr GM well i tried to edit it myself to add new things but i failed completely i really need help some editing i tried to add were a swat team similar to army were you have to apply for team a limited tazer for criminals(got idea from other server) an many others

Things i want(you don't need to do all of the projects):
-Swat Team
#swat team use drag(which drags them into their car)
#you need to apply on forum to be in swat team
#etc.............


Contacts:
Forum URL:www.ksgw.adoforum.net(Still being edited)
Email:Kalex320@gmail.com

Thank you in advance
Reply
#62

I need a license system, please. PM it to me.

When someone enters a vehicle and they don't have a license it will say "You need a drivers license!".
The license instructors will type /givelicense ID.
I will type /makeinstructor id to turn someone into a instructor and they can give licenses.
If you can then make the instructors have the ability to /takelicense ID.
Reply
#63

Quote:
Originally Posted by Sal_Kings
I need a license system, please. PM it to me.

When someone enters a vehicle and they don't have a license it will say "You need a drivers license!".
The license instructors will type /givelicense ID.
I will type /makeinstructor id to turn someone into a instructor and they can give licenses.
If you can then make the instructors have the ability to /takelicense ID.
i just wanna say, than is better if you make driiving school and when and some checkpoints ... so when player is driving car in checkpoints , on each checkpoint is different message like CP1: DRIVE ON RIGHT SIDE CP2RIVE CAREFULY... etc etc... make like 10 checkpoints 11 should be the last one and then they earn Driving License... and give /takelicense (ID) to cops - cops should have ranks so only like 5 or 10 ranks and rank 5+ should use /takelicense (id) - so the newbies should not abuse this command for nothing ... - this was just my idea anyway in search are nice licenses systems
Reply
#64

hello, I need a cmd for RP. when player are in driving school you can buy a license for 1000$ if there isnt any instructors online (if there are online then player cant buy a license) I have small part of the code done, I was trying to create this but there always something doesnt work
here is the code that I have already done
Код:
	if(strcmp(cmd, "/dmv", true) == 0)
	{
 		new x_nr[256];
		x_nr = strtok(cmdtext, idx);
 	 	if(IsPlayerConnected(playerid))
	 	{
			if (PlayerToPoint(2.5, playerid,-2032.9529,-115.7136,1035.1719))
	    {
				if(!strlen(x_nr))
				{
		 			SendClientMessage(playerid, COLOR_WHITE, "Izmantojums: /dmv [license]");
					SendClientMessage(playerid, COLOR_GREEN, "|_____ Licenses _____|");
					SendClientMessage(playerid, COLOR_WHITE, "tips - cena - license");
		  			SendClientMessage(playerid, COLOR_WHITE, "Driving license - 1000$ - driving");
			 		SendClientMessage(playerid, COLOR_GREEN, "|____________________|");
					return 1;
				}
	    		if(strcmp(x_nr,"driving",true) == 0)
	    		{

              ....
			}
		}
	  return 1;
	}
//PlayerInfo[playerid][pCarLic] = 1; <-- give license
//PlayerInfo[i][pLeader] == 11 || PlayerInfo[i][pMember] == 11 <-- instructor leaders, members
Reply
#65

-Edit- -Edit-

I am looking for a register and login command for rp server that saves the info to an .ini file that will save vehicle if purchased, drugs, houses etc..
Reply
#66

Quote:
Originally Posted by Ritchie999
-Edit- -Edit-

I am looking for a register and login command for rp server that saves the info to an .ini file that will save vehicle if purchased, drugs, houses etc..
Download an admin system, plus this might help ya get started: http://forum.sa-mp.com/index.php?action=search
Reply
#67

Quote:
Originally Posted by DeltaAirlines12
Quote:
Originally Posted by Ritchie999
-Edit- -Edit-

I am looking for a register and login command for rp server that saves the info to an .ini file that will save vehicle if purchased, drugs, houses etc..
Download an admin system, plus this might help ya get started: http://forum.sa-mp.com/index.php?action=search
wont an admin system save the script settings and not the gamemode settings?
Reply
#68

Could someone please add a 60 second timer on this command? Thanks!
http://pastebin.com/m13d1ee90
Reply
#69


wont an admin system save the script settings and not the gamemode settings?
[/quote]

I think it will, well, I have seen some that save game mode settings, but it gets erased when game mode is restarted
Reply
#70

Project Reality Like Script Or Older Version?

Hey im looking for an old or like gamemode like Porject Reality, Please i really want to make a server like this but edit it as well, if you know any gamemodes like this or have an older version or something may you please post it bellow and i will love you forever Smiley

Thanks
Reply
#71

okay. thnx. Another one, how to spawn vehicle with we automatic ride it?
Reply
#72

Quote:
Originally Posted by anazhd
okay. thnx. Another one, how to spawn vehicle with we automatic ride it?
"with we automatic ride it?"

what does that mean?
Reply
#73

Quote:
Originally Posted by Ritchie999
Quote:
Originally Posted by anazhd
okay. thnx. Another one, how to spawn vehicle with we automatic ride it?
"with we automatic ride it?"

what does that mean?
I think he's talking about bots. But idk.
Reply
#74

nope. --> spawn a vehicle and be put in it automatically in the vehicle. anyone?
Reply
#75

When you spawn vehicle then use
pawn Код:
PutPlayerInVehicle(playerid,0);
Reply
#76

Quote:
Originally Posted by Luka™
When you spawn vehicle then use
pawn Код:
PutPlayerInVehicle(playerid,0);
where should i put it. here is my pawn :

Код:
//try
dcmd_vx(playerid, params[])
{
	new
		idx,
		iString[ 128 ];

	if ( gPlayerStatus[ playerid ] != 0 )
	{
		format				( iString, 128, "[ERROR]: You are already using \"%s\".", aSelNames[ gPlayerStatus[ playerid ] - 1 ] );
		SendClientMessage	( playerid, COLOR_RED, iString );

		return true;
	}

	if ( params[ 0 ] == '\0' )	// Same effect as a !strlen check.
		return SendClientMessage( playerid, COLOR_RED, "[USAGE]: /v MODELID/NAME or /vehicle MODELID/NAME" );

	//***************
	// Fix by Mike! *
	//***************

	idx = GetVehicleModelIDFromName( params );

	if( idx == -1 )
	{
		idx = strval(iString);

		if ( idx < MIN_VEHI_ID || idx > MAX_VEHI_ID )
			return SendClientMessage(playerid, COLOR_RED, "[ERROR]: Invalid MODELID/NAME");
	}

	new
		Float:x,
		Float:y,
		Float:z,
		Float:a;

	GetPlayerPos(playerid, x, y, z);
	GetXYInFrontOfPlayer(playerid, x, y, VEHI_DIS);
	GetPlayerFacingAngle(playerid, a);

	curPlayerVehM[playerid] = idx;

	curPlayerVehI[playerid] = CreateVehicle(idx, x, y, z + 2.0, a + 90.0, -1, -1, 5000);
	LinkVehicleToInterior(curPlayerVehI[playerid], GetPlayerInterior(playerid));
 
 	curServerVehP[curPlayerVehI[playerid]][spawn] 	= true;
	curServerVehP[curPlayerVehI[playerid]][vmodel]	= idx;
	curServerVehP[curPlayerVehI[playerid]][vInt]  = GetPlayerInterior(playerid);

	format(iString, 128, "[SUCCESS]: Spawned a \"%s\" (MODELID: %d, VEHICLEID: %d)", aVehicleNames[idx - MIN_VEHI_ID], idx, curPlayerVehI[playerid]);

	SendClientMessage(playerid, COLOR_GREEN, iString);

	return true;
}
//try
Reply
#77

Hello,

I would like to appear in a textdraw get the vehicle name and vehicle-life

can help me there one?
Thank you in advance
Reply
#78

How can i put an arrow on a pickup like the arrows you see above players/objects in missions?and i also want when a player takes a pickup which has an arrow,he would have an arrow above him...

Please Reply
Reply
#79

Код:
Uum i would like a /color <0-255> <0-255> <0-255> command

So if you type /color 1 1 1 then you have white color.

Thank you
Reply
#80

Quote:
Originally Posted by anazhd
Quote:
Originally Posted by Luka™
When you spawn vehicle then use
pawn Код:
PutPlayerInVehicle(playerid,0);
where should i put it. here is my pawn :

Код:
//try
dcmd_vx(playerid, params[])
{
	new
		idx,
		iString[ 128 ];

	if ( gPlayerStatus[ playerid ] != 0 )
	{
		format				( iString, 128, "[ERROR]: You are already using \"%s\".", aSelNames[ gPlayerStatus[ playerid ] - 1 ] );
		SendClientMessage	( playerid, COLOR_RED, iString );

		return true;
	}

	if ( params[ 0 ] == '\0' )	// Same effect as a !strlen check.
		return SendClientMessage( playerid, COLOR_RED, "[USAGE]: /v MODELID/NAME or /vehicle MODELID/NAME" );

	//***************
	// Fix by Mike! *
	//***************

	idx = GetVehicleModelIDFromName( params );

	if( idx == -1 )
	{
		idx = strval(iString);

		if ( idx < MIN_VEHI_ID || idx > MAX_VEHI_ID )
			return SendClientMessage(playerid, COLOR_RED, "[ERROR]: Invalid MODELID/NAME");
	}

	new
		Float:x,
		Float:y,
		Float:z,
		Float:a;

	GetPlayerPos(playerid, x, y, z);
	GetXYInFrontOfPlayer(playerid, x, y, VEHI_DIS);
	GetPlayerFacingAngle(playerid, a);

	curPlayerVehM[playerid] = idx;

	curPlayerVehI[playerid] = CreateVehicle(idx, x, y, z + 2.0, a + 90.0, -1, -1, 5000);
	LinkVehicleToInterior(curPlayerVehI[playerid], GetPlayerInterior(playerid));
 
 	curServerVehP[curPlayerVehI[playerid]][spawn] 	= true;
	curServerVehP[curPlayerVehI[playerid]][vmodel]	= idx;
	curServerVehP[curPlayerVehI[playerid]][vInt]  = GetPlayerInterior(playerid);

	format(iString, 128, "[SUCCESS]: Spawned a \"%s\" (MODELID: %d, VEHICLEID: %d)", aVehicleNames[idx - MIN_VEHI_ID], idx, curPlayerVehI[playerid]);

	SendClientMessage(playerid, COLOR_GREEN, iString);

	return true;
}
//try
I commet the line that I put in your script, just look
pawn Код:
dcmd_vx(playerid, params[])
{
    new
        idx,
        iString[ 128 ];

    if ( gPlayerStatus[ playerid ] != 0 )
    {
        format              ( iString, 128, "[ERROR]: You are already using \"%s\".", aSelNames[ gPlayerStatus[ playerid ] - 1 ] );
        SendClientMessage   ( playerid, COLOR_RED, iString );

        return true;
    }

    if ( params[ 0 ] == '\0' )  // Same effect as a !strlen check.
        return SendClientMessage( playerid, COLOR_RED, "[USAGE]: /v MODELID/NAME or /vehicle MODELID/NAME" );

    //***************
    // Fix by Mike! *
    //***************

    idx = GetVehicleModelIDFromName( params );

    if( idx == -1 )
    {
        idx = strval(iString);

        if ( idx < MIN_VEHI_ID || idx > MAX_VEHI_ID )
            return SendClientMessage(playerid, COLOR_RED, "[ERROR]: Invalid MODELID/NAME");
    }

    new
        Float:x,
        Float:y,
        Float:z,
        Float:a;

    GetPlayerPos(playerid, x, y, z);
    GetXYInFrontOfPlayer(playerid, x, y, VEHI_DIS);
    GetPlayerFacingAngle(playerid, a);

    curPlayerVehM[playerid] = idx;

    curPlayerVehI[playerid] = CreateVehicle(idx, x, y, z + 2.0, a + 90.0, -1, -1, 5000);
    PutPlayerInVehicle(playerid,0); // LINE ADDED BY ME! TELL ME IF IT IS WORKING
    LinkVehicleToInterior(curPlayerVehI[playerid], GetPlayerInterior(playerid));
 
    curServerVehP[curPlayerVehI[playerid]][spawn]   = true;
    curServerVehP[curPlayerVehI[playerid]][vmodel]  = idx;
    curServerVehP[curPlayerVehI[playerid]][vInt]  = GetPlayerInterior(playerid);

    format(iString, 128, "[SUCCESS]: Spawned a \"%s\" (MODELID: %d, VEHICLEID: %d)", aVehicleNames[idx - MIN_VEHI_ID], idx, curPlayerVehI[playerid]);

    SendClientMessage(playerid, COLOR_GREEN, iString);

    return true;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)