I'm making an RP gamemode from scratch [And i'm stuck] anyone who can help me in making it? -
anantanni - 30.04.2011
I'm looking for 1 guy that can help me in scripting it :P Oh hey and I'm not paying.
I don't script for money, I script for myself.
Anyway its all off topic, So I have completed the registration system just yet. (Based on dialogs)
Things I need help for:
Making local ooc
Making houses and bizzes.
Making vehicle ownership
Hope someone is there to help me

And if you don't wanna help then I don't mind, Its your life xD.
Have a nice day, Pm me if you willing to help :P
Re: I'm making an RP gamemode from scratch [And i'm stuck] anyone who can help me in making it? -
Retardedwolf - 30.04.2011
Quote:
Originally Posted by anantanni
Oh hey and I'm not paying.
|
/thread
Re: I'm making an RP gamemode from scratch [And i'm stuck] anyone who can help me in making it? -
anantanni - 30.04.2011
@Retartedwolf = I said what I wanted to. I don't care of stupid replies.
Re: I'm making an RP gamemode from scratch [And i'm stuck] anyone who can help me in making it? -
coole210 - 30.04.2011
o.o
CMD:
Код:
if(!strcmp(cmdtext, "/b",true,2))
{
if(!strlen(cmdtext[3])) return scm(playerid,cw,"[ ! ] USAGE: /b (message)");
format(string,sizeof(string),"%s says(OOC) %s",str_replace("_"," ",GetName(playerid)),cmdtext[3]);
ProxDetector(30,playerid,string,cw,cw,cw,cw,cw);
return 1;
}
Bottom of script:
Код:
forward ProxDetector(Float:radi, playerid, str[],col1,col2,col3,col4,col5);
public ProxDetector(Float:radi, playerid, str[],col1,col2,col3,col4,col5)
{
if(IsPlayerConnected(playerid))
{
new Float:posx, Float:posy, Float:posz;
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GetPlayerPos(i, posx, posy, posz);
tempposx = (oldposx -posx);
tempposy = (oldposy -posy);
tempposz = (oldposz -posz);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16)))
{
SendClientMessage(i, col1, str);
}
else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8)))
{
SendClientMessage(i, col2, str);
}
else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4)))
{
SendClientMessage(i, col3, str);
}
else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2)))
{
SendClientMessage(i, col4, str);
}
else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
SendClientMessage(i, col5, str);
}
}
}
}//not connected
return 1;
}
good luck, if you need anymore help just pm, I'm busy with C++ most of the day though.
Re: I'm making an RP gamemode from scratch [And i'm stuck] anyone who can help me in making it? -
anantanni - 30.04.2011
I use zcmd. Anyway :P thnx