Newbie script request
#1

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
Reply
#2

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)
Reply
#3

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
Reply
#4

well if it it useless then delete it pls . i have been to request script ill try to post there thx
Reply
#5

Give me your /makevampire command.
Reply
#6

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!!!??
Reply
#7

Everyone has a downside even I do.

So no need to fight

Anyways player posted here so no need for this topic.
Reply
#8

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)