Easy scripts
#1

What do you guys consider as easy scripts? I know how to script roleplay things like gates and fastfood stands and stuff, what do you guys consider easy? I know how to script some stuff, need recommendations so I can learn some more things.
I need some easy task from you guys like godmode(already done)
Reply
#2

Try to create a command to buy and sell vehicles.
Reply
#3

Here is my advice: Go to gamemodes section; check other scripts from different kinds ( rp/tdm..) and see how they are scripted, then you will learn some new ways and types of scripting.
Also exploring the whole samp wiki would help.
Once you feel you're ready to produce something go on and make a release or something.
Reply
#4

@Battlezone gonna check that out, thanks.
@Clad I have an idea how to make that, but not sure though. Thanks.
Reply
#5

Код:
CMD:selltampa(playerid, params[])
{   
	new vehmodel = GetVehicleModel(GetPlayerVehicleID(playerid));
	if (vehmodel == 549)
	{
	SendClientMessage(playerid, COLOR_YELLOW, "You found tampa! Congradulations! You earn 2000$!");
	DestroyVehicle(vehmodel);
        GivePlayerMoney(playerid, 2000);
	}
	else if(!vehmodel) return SendClientMessage(playerid, COLOR_RED, "You're not in tampa!");
	return 1;
}
Made this to sell tampa. Tampas are going to be around the map in weird places. DIDNT TAKE A PEEK ON THE INTERNET ABOUT THIS.


edit: The code won't delete the car, how do I do that? by the way I added some new things to script edited up there ^^
Reply
#6

Quote:
Originally Posted by Bek_Loking
Посмотреть сообщение
Код:
CMD:selltampa(playerid, params[])
{   
	new vehmodel = GetVehicleModel(GetPlayerVehicleID(playerid));
	if (vehmodel == 549)
	{
	SendClientMessage(playerid, COLOR_YELLOW, "You found tampa! Congradulations! You earn 2000$!");
	DestroyVehicle(vehmodel);
        GivePlayerMoney(playerid, 2000);
	}
	else if(!vehmodel) return SendClientMessage(playerid, COLOR_RED, "You're not in tampa!");
	return 1;
}
Made this to sell tampa. Tampas are going to be around the map in weird places. DIDNT TAKE A PEEK ON THE INTERNET ABOUT THIS.
edit: The code won't delete the car, how do I do that? by the way I added some new things to script edited up there ^^
You just made a topic of selling Tampas, You still can do an auto spawner of tampas each 1 hours or something like that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)