Newbie script request -
Edward d - 27.10.2012
Hi. I have a filterscript that has a command /xxxxx(rcon only)
what i want to do is make a marker on the floor in the bar. ( next to cjs old house grove street) thst when a a player walks into the bar and to the red marker on floor it will ask the player if he or she want to become xxxxx.
if the player picks yes then then the server will issue the command /xxxxx playerid and the player will become xxxxx
Re: Newbie script request -
Vasu99 - 27.10.2012
Well, I'm a newb scripter but I think that if somebody just gives you this you wont learn, just try stuff (First back it up)
Re: Newbie script request -
HyDrAtIc - 27.10.2012
Quote:
Originally Posted by Vasu99
Well, I'm a newb scripter but I think that if somebody just gives you this you wont learn, just try stuff (First back it up)
|
Your post is useless and off topic.
On: Please post in the right section >>>
https://sampforum.blast.hk/showthread.php?tid=187229
Re: Newbie script request -
Edward d - 27.10.2012
well if it it useless then delete it pls . i have been to request script ill try to post there thx
Re: Newbie script request -
RedJohn - 27.10.2012
Give me your /makevampire command.
Re: Newbie script request -
WizBoy - 27.10.2012
James....Why do you do this shit here......Everytime you see a newbie scripter u dont want to help him you just only laugh about his works or questions!!!
??
Re: Newbie script request -
gtakillerIV - 27.10.2012
Everyone has a downside even I do.
So no need to fight
Anyways player posted
here so no need for this topic.
Re: Newbie script request -
Edward d - 27.10.2012
CMD:makevampire(playerid,params[])
{
new id;
if(sscanf(params,"u",id) ) return SendClientMessage(playerid,COLOR_RED,"[USAGE]: /makevampire [id]");
if(!IsPlayerAdmin(playerid) ) return SendClientMessage(playerid,COLOR_RED,"You are not an RCON Admin!");
if(Vampire[id] == 1) return SendClientMessage(playerid,COLOR_RED,"ERROR: Player is already vampire");
if(!IsPlayerConnected(id) ) return SendClientMessage(playerid,COLOR_RED,"Player is not connected");
else
{
new name[MAX_PLAYER_NAME], playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
GetPlayerName(id,playername,sizeof(playername));
new gstring[256], string[256];
format(string,sizeof(string),"Admin %s maked you a vampire, he is now a vampire!",playername);
format(gstring,sizeof(gstring),"You had been transformed into a Vampire by Admin %s",name);
SendClientMessage(playerid,COLOR_BLUE,string);
SendClientMessage(id,COLOR_GREEN,gstring);
SetPlayerWeather(id,-2);
Vampire[id] = 1;
VTimer = SetTimerEx("MakeVampire",5000,false,"u",id);
DTimer = SetTimerEx("IfDay",60*1000,true,"u",id);
}
return 1;
}