[GameMode] [GM] Raven's Roleplay [2.5b]

Quote:
Originally Posted by CuervO
Посмотреть сообщение
I admit the Gamemode is poorly scripted and has some bugs, However you can't Actually judge something as HORRIBLE that sucks in 9987987 aspects if you haven't done absolutely nothing or even worse, you don't know how to do anything.
At least tell me where the car folder is? I'm unable to find it.
Reply

Ooops
Reply

Hello, back again with the same the problem of meaning / you buy and pcarkey!
I put in all the pcarkey GameModes, pcarkey2, but degeba pcarkey3 9999!
Now I still do not want to give any car when I / you say I buy Uknown Command is also the issue of LARP / Vehicles / cars.cfg
Here's how I made it to / you buy:
Код:
                else if(strcmp(x_nr,"buy",true) == 0)
	        {
	            new car = 195;
	            new model = GetVehicleModel(idcar);
	            if(IsASalesVehicle(idcar))
	            {
	                if(PlayerInfo[playerid][pLevel] < 4)
			    	{
                    	SendClientMessage(playerid, COLOR_LIGHTRED, "Ai nevoie de level 4 pentru a cumpara un vehicul!");
                    	return 1;
			    	}
			    	if(PlayerInfo[playerid][pPcarkey] == 9999 || PlayerInfo[playerid][pPcarkey2] == 9999 || PlayerInfo[playerid][pPcarkey3] == 9999) { }
			    	else return SendClientMessage(playerid, COLOR_GREY,"* Detii deja 3 masini!");
					if(GetPlayerMoney(playerid) >= GetVehiclePrice(idcar))
					{
					    if(PlayerInfo[playerid][pCarLic] == 1)
					    {
					        for(new h = 195; h < sizeof(CarInfo); h++)
							{
								if(CarInfo[h][cOwned] == 1)
								{
								    car = h + 1;
								}
							}
							if(PlayerInfo[playerid][pPcarkey] == 9999) { PlayerInfo[playerid][pPcarkey] = idcar; }
					    	        else if(PlayerInfo[playerid][pPcarkey2] == 9999) { PlayerInfo[playerid][pPcarkey2] = idcar; }
					    	        else if(PlayerInfo[playerid][pPcarkey3] == 9999) { PlayerInfo[playerid][pPcarkey3] = idcar; }
							else { PlayerInfo[playerid][pPcarkey] = car; }
							CarInfo[car][cOwned] = 1;
							strmid(CarInfo[car][cOwner], sendername, 0, strlen(sendername), 999);
							SafeGivePlayerMoney(playerid,-GetVehiclePrice(idcar));
							if(IsModelAPlane(idcar) || IsModelAHeli(idcar))
							{
								CarInfo[car][cLocationx] = 1857.5852;
								CarInfo[car][cLocationy] = -2544.7224;
								CarInfo[car][cLocationz] = 13.5469;
								CarInfo[car][cAngle] = 276.5629;
								SendClientMessage(playerid, COLOR_NICERED, "Avionul/Elicopetrul dvs. a fost livrata la AEROPORTUL LOS SANTOS, puteti sa o ridicati de acolo!");
								SendClientMessage(playerid, COLOR_YELLOW2, "Retine: Daca lasati avionul/heli in zona de livrare , va fi CONFISCATA de administratori !!");
							}
							else if(IsModelABoat(idcar))
							{
							    CarInfo[car][cLocationx] = 187.9967;
								CarInfo[car][cLocationy] = -1979.0901;
								CarInfo[car][cLocationz] = -0.6024;
								CarInfo[car][cAngle] = 214.4243;
								SendClientMessage(playerid, COLOR_NICERED, "Barca dvs. a fost livrata la AEROPORTUL LOS SANTOS, puteti sa o ridicati de acolo!");
								SendClientMessage(playerid, COLOR_YELLOW2, "Retine: Daca lasati barca in zona de livrare , va fi CONFISCATA de administratori !");
							}
							else
							{
                                                                CarInfo[car][cLocationx] = 1960.2401;
								CarInfo[car][cLocationy] = -2360.0776;
								CarInfo[car][cLocationz] = 13.5469;
								CarInfo[car][cAngle] = 0.3884;
								SendClientMessage(playerid, COLOR_NICERED, "Masina/Mootocilceta dvs. a fost livrata la AEROPORTUL LOS SANTOS, puteti sa o ridicati de acolo");
								SendClientMessage(playerid, COLOR_YELLOW2, "Retine: Daca lasati masina/motocicleta in zona de livrare , va fi CONFISCATA de administratori !");
							}
							CarInfo[car][cModel] = model;
							CarInfo[car][cVirWorld] = 0;
							DestroyVehicle(car);
							CreateVehicle(CarInfo[car][cModel],CarInfo[car][cLocationx],CarInfo[car][cLocationy],CarInfo[car][cLocationz],90.0,1,1,30000);
							PlayerPlayMusic(playerid);
							GameTextForPlayer(playerid, "~w~Felicitari~n~Nu uitati sa folositi /v park it!", 5000, 3);
							SendClientMessage(playerid, COLOR_GRAD2, "Foloseste /vehiclehelp pentru a vedea comenzile disponibile!");
							gEngine[playerid] = 0;
							engineOn[GetPlayerVehicleID(playerid)] = false;
							DateProp(playerid);
							OnPropUpdate(4);
							OnPlayerUpdateEx(playerid);
							SafeRemovePlayerFromVehicle(playerid);
							TogglePlayerControllable(playerid, 1);
						}
						else
						{
							SendClientMessage(playerid, COLOR_WHITE, "* Din motive de securitate, este nevoie de un permis de conducere pentru a cumpara o masina!");
							return 1;
						}
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY, "  Nu aveti suficienti bani ! ");
					    return 1;
					}
	            }
	        }
Please help me to give me the car keys and cars from the dealership! Thanks
Reply

How to remove the blue circal "R"
Reply

ThePandaDK me ?
Reply

How to take a tazer ammo?

HELPPPPPPPPPP
Reply

How to fix the payday sistem??



HELP
Reply

payday sistem is OK
Reply

what is required to do to send someone to jail?
Reply

Hello, back again with the same the problem of meaning / you buy and pcarkey!
I put in all the pcarkey GameModes, pcarkey2, but degeba pcarkey3 9999!
Now I still do not want to give any car when I / you say I buy Uknown Command is also the issue of LARP / Vehicles / cars.cfg
Here's how I made it to / you buy:
Код:
                else if(strcmp(x_nr,"buy",true) == 0)
	        {
	            new car = 195;
	            new model = GetVehicleModel(idcar);
	            if(IsASalesVehicle(idcar))
	            {
	                if(PlayerInfo[playerid][pLevel] < 4)
			    	{
                    	SendClientMessage(playerid, COLOR_LIGHTRED, "Ai nevoie de level 4 pentru a cumpara un vehicul!");
                    	return 1;
			    	}
			    	if(PlayerInfo[playerid][pPcarkey] == 9999 || PlayerInfo[playerid][pPcarkey2] == 9999 || PlayerInfo[playerid][pPcarkey3] == 9999) { }
			    	else return SendClientMessage(playerid, COLOR_GREY,"* Detii deja 3 masini!");
					if(GetPlayerMoney(playerid) >= GetVehiclePrice(idcar))
					{
					    if(PlayerInfo[playerid][pCarLic] == 1)
					    {
					        for(new h = 195; h < sizeof(CarInfo); h++)
							{
								if(CarInfo[h][cOwned] == 1)
								{
								    car = h + 1;
								}
							}
							if(PlayerInfo[playerid][pPcarkey] == 9999) { PlayerInfo[playerid][pPcarkey] = idcar; }
					    	        else if(PlayerInfo[playerid][pPcarkey2] == 9999) { PlayerInfo[playerid][pPcarkey2] = idcar; }
					    	        else if(PlayerInfo[playerid][pPcarkey3] == 9999) { PlayerInfo[playerid][pPcarkey3] = idcar; }
							else { PlayerInfo[playerid][pPcarkey] = car; }
							CarInfo[car][cOwned] = 1;
							strmid(CarInfo[car][cOwner], sendername, 0, strlen(sendername), 999);
							SafeGivePlayerMoney(playerid,-GetVehiclePrice(idcar));
							if(IsModelAPlane(idcar) || IsModelAHeli(idcar))
							{
								CarInfo[car][cLocationx] = 1857.5852;
								CarInfo[car][cLocationy] = -2544.7224;
								CarInfo[car][cLocationz] = 13.5469;
								CarInfo[car][cAngle] = 276.5629;
								SendClientMessage(playerid, COLOR_NICERED, "Avionul/Elicopetrul dvs. a fost livrata la AEROPORTUL LOS SANTOS, puteti sa o ridicati de acolo!");
								SendClientMessage(playerid, COLOR_YELLOW2, "Retine: Daca lasati avionul/heli in zona de livrare , va fi CONFISCATA de administratori !!");
							}
							else if(IsModelABoat(idcar))
							{
							    CarInfo[car][cLocationx] = 187.9967;
								CarInfo[car][cLocationy] = -1979.0901;
								CarInfo[car][cLocationz] = -0.6024;
								CarInfo[car][cAngle] = 214.4243;
								SendClientMessage(playerid, COLOR_NICERED, "Barca dvs. a fost livrata la AEROPORTUL LOS SANTOS, puteti sa o ridicati de acolo!");
								SendClientMessage(playerid, COLOR_YELLOW2, "Retine: Daca lasati barca in zona de livrare , va fi CONFISCATA de administratori !");
							}
							else
							{
                                                                CarInfo[car][cLocationx] = 1960.2401;
								CarInfo[car][cLocationy] = -2360.0776;
								CarInfo[car][cLocationz] = 13.5469;
								CarInfo[car][cAngle] = 0.3884;
								SendClientMessage(playerid, COLOR_NICERED, "Masina/Mootocilceta dvs. a fost livrata la AEROPORTUL LOS SANTOS, puteti sa o ridicati de acolo");
								SendClientMessage(playerid, COLOR_YELLOW2, "Retine: Daca lasati masina/motocicleta in zona de livrare , va fi CONFISCATA de administratori !");
							}
							CarInfo[car][cModel] = model;
							CarInfo[car][cVirWorld] = 0;
							DestroyVehicle(car);
							CreateVehicle(CarInfo[car][cModel],CarInfo[car][cLocationx],CarInfo[car][cLocationy],CarInfo[car][cLocationz],90.0,1,1,30000);
							PlayerPlayMusic(playerid);
							GameTextForPlayer(playerid, "~w~Felicitari~n~Nu uitati sa folositi /v park it!", 5000, 3);
							SendClientMessage(playerid, COLOR_GRAD2, "Foloseste /vehiclehelp pentru a vedea comenzile disponibile!");
							gEngine[playerid] = 0;
							engineOn[GetPlayerVehicleID(playerid)] = false;
							DateProp(playerid);
							OnPropUpdate(4);
							OnPlayerUpdateEx(playerid);
							SafeRemovePlayerFromVehicle(playerid);
							TogglePlayerControllable(playerid, 1);
						}
						else
						{
							SendClientMessage(playerid, COLOR_WHITE, "* Din motive de securitate, este nevoie de un permis de conducere pentru a cumpara o masina!");
							return 1;
						}
					}
					else
					{
					    SendClientMessage(playerid, COLOR_GREY, "  Nu aveti suficienti bani ! ");
					    return 1;
					}
	            }
	        }
Please help me to give me the car keys and cars from the dealership! Thanks
Reply

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
And there is also one more bug, when someone buy car (/v buy), server destroy cars from national guard (new car id 1, destroyed car id 1 from national guard)
But if you restart server, this car will respawn again.
Reply

Yeah, thats true, thank you But do you know how to fix bug with /veh and spawn money?
I found out somethink new! After /respawnallcars server destroy every hydra, hunter, rhino and army boat(predator) on server (same is with /rtc) and thank when you type command /veh server is searching first free car slot....and spawn new car as national guard because rhino is disappear(too army boats and hydra and hunter from dev zone)....

But the most important bug for me is money on first spawn....
But also everythink is ok after server restart....but i dont want to restart server after every user registration...
Reply

To All Scripter..

Can We Put TESTER a CMD??
If Can,Pliss Give Me The PAWN !
Reply

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
Yeah, thats true, thank you But do you know how to fix bug with /veh and spawn money?
I found out somethink new! After /respawnallcars server destroy every hydra, hunter, rhino and army boat(predator) on server (same is with /rtc) and thank when you type command /veh server is searching first free car slot....and spawn new car as national guard because rhino is disappear(too army boats and hydra and hunter from dev zone)....

But the most important bug for me is money on first spawn....
But also everythink is ok after server restart....but i dont want to restart server after every user registration...
You can use /update ,I don't know how to use , but it 's what you want.
Reply

How To Make This?
Public OnFilterScriptInit?
Or Some (Public ......,on larp.pwn)Have Same Function With OnFilerScriptInit?/

Help Me SOMEONE!!!!!!!!!!!!!!
Reply

how to create a family or a gang and set leader and one more bug when im on police duty i get cj skin lots of bugs fix them please
Reply

i need help the server is bugged
every i got crashed
tutorials can not work
the anti cheat ban and kick without reason

can some one reply this command plz
Reply

Quote:
Originally Posted by misho1
Посмотреть сообщение
i need help the server is bugged
every i got crashed
tutorials can not work
the anti cheat ban and kick without reason

can some one reply this command plz
crashed? not in my case, did you put some FS on server?
Turorial works on my Raven...(v3.0 RC5)

Can we make somethink to reset all player money before they register, before they type sex, continent, birthdate... (SafeResetPlayerMoney or somethink like that...) and freeze before reg...
Reply

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
crashed? not in my case, did you put some FS on server?
Turorial works on my Raven...(v3.0 RC5)

Can we make somethink to reset all player money before they register, before they type sex, continent, birthdate... (SafeResetPlayerMoney or somethink like that...) and freeze before reg...
i put 4 fs.
but what about the anti cheat problem?
Reply

I sure hope you realize that cuervo isn't working on this anymore. The intent for releases are so that you can use it as a base mode and build it yourself and fix things yourself. Go use the wiki. Post new threads. try to actually learn how to script and fix the problems yourself. I personally have this script and the only bugs my server has are sa-mp bugs because I actually script. Now stop complaining about how someone, who was nice enough to give out his script and even update it a few times, needs to fix everything for you.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)