Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SoFahim

#1
General Discussion / Re: about run a server
Sep 10, 2015, 07:09 PM
Ohh . Okey, Thanks @Thijn for tell me it.
#2
General Discussion / Re: about run a server
Sep 10, 2015, 01:47 PM
If i don't remove the credits then? Like, I use DNUS, If i give the credits to them. That should not be illegal right?
#3
General Discussion / about run a server
Sep 10, 2015, 11:44 AM
If i open a server with leaked script, will it be banned? Or will it force close by devs, Or will do others thing?

Or i can use any script in VCMP ?
#4
Servers / Re: GTA Vice City The Rush
Sep 05, 2015, 11:59 AM
Fixed all !commands . also fixed '/' commands , There three level of admin. 3types level for players

Player level :
1: Newbie 
2. Reg. Player
3.High Roller
4.VIP.
Admin level
1.Admin
2.manager

Now, anyone can Request for own on car in forum or in Game, ( Update every restart )
Props are not for sell ( fixed database errors )
deleted all useless objects
Added animations . /a to know them all.

For now, thats it. Wil add more
#5
@KAKAN why don't you understand? const is something like new or define . So, those aren't should be in OnScriptLoad. Maybe you can put. I have put then in OnScriptLoad it shows error. but when i put them in top of the script. it works fine. So, there nothing to say that you need a brain. @Thijn You should tell something. Those two person really want to fight with other.
You are pro about script good, but you are not able to talk like this. @Xmair too. -_-
#7
Quotethe command give me error.
and also
const should being top of the script. not in OnScriptLoad

#8
Quote from: Stormeus on Sep 02, 2015, 05:50 PMIt's not really roleplaying unless you use accents. Example should be
QuoteStormeus takes out his gun, Reload ammo and start shooting in a French accent
Accent is not fact, In roleplay, accent is not much care. RP depend on role of a player.


In my SAMP roleplay server, I use Proxdetector function to use foreach.

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);
//radi = 2.0; //Trigger Radius
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;
}
and the command is
CMD:me(playerid, params[])
{
if(gPlayerLogged{playerid} == 0)
{
SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
return 1;
}

if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /me [action]");
if(strlen(params) > 128)
{
new firstline[128], secondline[128];
strmid(firstline, params, 0, 126);
strmid(secondline, params, 126, 205);
format(secondline, sizeof(secondline), "... %s", secondline);
format(firstline, sizeof(firstline), "* %s %s ...", GetPlayerNameEx(playerid), firstline);
ProxDetector(30.0, playerid, firstline, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ProxDetector(30.0, playerid, secondline, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else {
new string[128];
format(string, sizeof(string), "* %s %s", GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
return 1;
}
I know Pawno and Squirrel fully different. and also, I am not well know about SQ. .
I have been confused to make the loop. Can you please give me example code for it. no tlike before one. That one not even about any loop
#9
Quote from: KAKAN on Sep 02, 2015, 12:22 PMOh what is RP and what do you mean by saying Massagenear
RP mean RolePlay. the famous mode in GTA gaming.
MassageNear mean massage to near players

Quote from: Doom_Killer on Sep 02, 2015, 12:24 PMCreate an array which holds all the online players, when someone uses that command, run a foreach loop to go through all the online players, each time a player is taken out from array, check his distance from command user using DistanceFromPoint function and if it in range of certain area then display the message for him using MessagePlayer.

@KAKAN, If you don't know something then just skip the topic ;)
Any script example please?
#10
Hello there,

As you know, I am newbie about Squirrel Scripting . Thats why, i am requesting you for giving me scripted or idea ( how to ) for making come RP commands.

like,
else if ( cmd == "me" )
{
if (status[ player.ID ].IsReg == false) MessagePlayer(RED+"** []: >> "+ORANGE+"You Need To Registered First!",player);
else if ( status[ player.ID ].IsLogged == false ) MessagePlayer(RED+"** []: >> "+ORANGE+"You Need To Logged-In First!",player);
else if ( !player.IsSpawned ) MessagePlayer( RED+"** []: >> "+ORANGE+"First Spawned And Then Use It.", player );
else if ( !text ) MessagePlayer(ORANGE+"Usage: /"+ cmd +" [Text]", player );
else {
Message(RED+"** >> [Me]:-"+player.Name+""+WHITE+""+text+"");
}
}
Result as playername  > Stormeus type > Takes out his gun, Reload ammo and start shooting

Stormeus takes out his gun, Reload ammo and start shooting
Massage give massage in whole chat, But I want this as Massagenear

Can anyone please help me for that?
#11
General Discussion / Re: Help need here!
Sep 01, 2015, 06:04 AM
Quote from: Xmair on Sep 01, 2015, 01:03 AMYou won't believe that vccnr has a teamspeak channel. I talk there.
Many server are really not much sure about Should they need TS3
#12
General Discussion / Re: Help need here!
Aug 31, 2015, 05:34 PM
I am planing to make a community, with VCMP SAMP server. Thats why, i want some person who can work inVCMP and SAMP . I am always busy in SAMP, thats why i need one for In Game control the server ( VCMP ) .
#13
General Discussion / Re: Help need here!
Aug 31, 2015, 08:55 AM
Quote from: KAKAN on Aug 31, 2015, 08:32 AMTS3 is really good, but no one joins it as no one wants their voice to be heard by a stranger
but playing DM with talking chat, is very awesome felling. and also TS3 have chatting system too
#14
General Discussion / Help need here!
Aug 31, 2015, 07:27 AM
I think, TS3 is more good then IRC. and also, GTAVCTR now have one TS3 server. But, I need some developer for make a community . With VCMP SAMP IVMP TEAM Speak3 . ( maybe, I have post in wrong section but else. )

I hope someone will help me with this community . at least with VCMP
#15
Quote from: Stormeus on Aug 30, 2015, 07:01 PMCrash logs submitted to the tracker require debugging information that only developers have.
Server can crash for Script problem?