• Welcome to Vice City Multiplayer.
 
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 - yazeen

#106
mIRC/pawn Scripting / Re: Help me guys!!!!!!!
March 29, 2011, 12:36:19 PM
Quote from: Scripter on March 29, 2011, 12:30:06 PM
G:\MY server\gamemodes\JS.pwn(2593) : error 017: undefined symbol "cmd2"
G:\MY server\gamemodes\JS.pwn(2595) : warning 211: possibly unintended assignment
G:\MY server\gamemodes\JS.pwn(2596) : error 017: undefined symbol "tmp2"
G:\MY server\gamemodes\JS.pwn(2601) : error 029: invalid expression, assumed zero
G:\MY server\gamemodes\JS.pwn(2601) : warning 215: expression has no effect
G:\MY server\gamemodes\JS.pwn(2601) : error 001: expected token: ";", but found "if"
G:\MY server\gamemodes\JS.pwn(2601) : error 017: undefined symbol "cmd2"
G:\MY server\gamemodes\JS.pwn(2601) : fatal error 107: too many error messages on one line




Use

new tmp2[256];

and if i used if instead of else if change it
#107
mIRC/pawn Scripting / Re: Help me guys!!!!!!!
March 29, 2011, 12:26:50 PM
Quote from: Scripter on March 29, 2011, 12:22:21 PM
not works
and why !la on/of it need to be direct !La 
Example just like in VCHA

Show me Errors la on/off if on it will direct to last arena if no it will not do anything

Show me the list of errors plse
#108
Support / OMM LAWL
March 29, 2011, 11:32:33 AM
My Internet operater Dosent know what is port forwarding They Think port forwarding means Lan Number Forwarding ROFL!

Info
Internet: Relience
Myip : 123.237.128.221

Help needed:
I want to Port Forward
IN what Kind of Store can i buy The Router
How can i Use it
Is There anyname of Port Forwarding that Relience Guys KnoW?
What to ask them in store
What is the Cost of a router i know its different But can u Round up and say a cheap amount?

Or

Can u Guys Port Forward for me ? 
Return: Make u Admin in my Server freestlez-Role play or (Give Cash in any server 5k) exept Hunting caz im banned

Thanks in Advance..........
#109
mIRC/pawn Scripting / Re: Help me guys!!!!!!!
March 29, 2011, 11:20:31 AM
Well Dude My 10min is lost For you and if it Dont Help Tell me!  8)

First
When a Player Types /c arena [Name]

else if(strcmp(cmd,"arena",true) == 0)
{
new param[256];
    cmd2 = strtok(cmdtext,idx);
new cash;
if(la[playerid] = 1)
if(!strlen(tmp2))
cash = GetPlayerMoney(playerid);
{

    //Follow This Format
        else if(strcmp(cmd2,"wepname",true) == 0)
{
if(cash >= 0)// Desired Ticket Cash For arena
{
    wepname[playerid] =1;
      m4[playerid] =0;
   colt[playerid] =0;
   shotgun[playerid] =0;
   uzi[playerid] =0;
   shotgun[playerid] =0;
SetPlayerWeapon(playerid,0,0); // Here Wepname and Wep Ammo
SendClientMessage(playerid,COLOR_BLUE,"You Entered The [wepname] arena");
SetPlayerMoney(playerid,cash-0); //minus here the Cash you wrote on top
SetPlayerPos(playerid,XYZCoords);
}
}
if(strcmp(cmd2,"m4",true) == 0)
{
if(cash >= 200)
{
spaz[playerid] =0;
m4[playerid] =1;
colt[playerid] =0;
uzi[playerid] =0;
shotgun[playerid] =0;
SetPlayerWeapon(playerid,26,120);
SendClientMessage(playerid,COLOR_BLUE,"You Entered The Shotgun arena");
SetPlayerMoney(playerid,cash-200);
SetPlayerPos(playerid,XYZCoords);
}
}

else if(strcmp(cmd2,"uzi",true) == 0)
{
if(cash >= 100)
{
spaz[playerid] =0;
m4[playerid] =0;
colt[playerid] =0;
uzi[playerid] =1;
shotgun[playerid] =0;
SetPlayerWeapon(playerid,23,120);
SendClientMessage(playerid,COLOR_BLUE,"You Entered The uzi arena");
SetPlayerMoney(playerid,cash-100);
SetPlayerPos(playerid,XYZCoords);
}
}

else if(strcmp(cmd2,"shotgun",true) == 0)
{
if(cash >= 340)
{
spaz[playerid] =0;
m4[playerid] =0;
colt[playerid] =0;
uzi[playerid] =0;
shotgun[playerid] =1;
SetPlayerWeapon(playerid,19,120);
SendClientMessage(playerid,COLOR_BLUE,"You Entered The Shotgun arena");
SetPlayerMoney(playerid,cash-340);
SetPlayerPos(playerid,XYZCoords);
}
}

else if(strcmp(cmd2,"spaz",true) == 0)
{
if(cash >= 500)
{
spaz[playerid] =1;
m4[playerid] =0;
colt[playerid] =0;
shotgun[playerid] =0;
uzi[playerid] =0;
shotgun[playerid] =0;
SetPlayerWeapon(playerid,20,120);
SendClientMessage(playerid,COLOR_BLUE,"You Entered The spaz arena");
SetPlayerMoney(playerid,cash-500);
SetPlayerPos(playerid,XYZCoords);
}
}

else if(strcmp(cmd2,"colt",true) == 0)
{
if(cash >= 50)
{
    spaz[playerid] =0;
m4[playerid] =0;
colt[playerid] =1;
shotgun[playerid] =0;
uzi[playerid] =0;
shotgun[playerid] =0;
SetPlayerWeapon(playerid,17,120);
SendClientMessage(playerid,COLOR_BLUE,"You Entered The colt47 arena");
SetPlayerMoney(playerid,cash-50);
SetPlayerPos(playerid,XYZCoords);
}
}
else
{
SendClientMessage(playerid,COLOR_RED,"Error: /c Arena [ArenaName]");
}
}
else
{
SendClientMessage(playerid,COLOR_RED,"You Have Disabled Last Arena!");
}
return 1;
}


Second
If Player Enabled/Disabled Last Arena

}
else if (strcmp(cmd, "la", true) == 0) {
tmp = strtok(cmdtext, idx);
if (!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN,"USAGE: /c la [on/off]");
else {
    if(strcmp(tmp, "on", true) == 0) {
SendClientMessage(playerid,COLOR_GREEN,"Last Arena Has Been Enabled.");
la[playerid] = 1;
format(file, sizeof(file), USERS_FILE, gPlayers[playerid]);
dini_Set(file, "Nola", "1");
}
else if(strcmp(tmp, "off", true) == 0) {
SendClientMessage(playerid,COLOR_GREEN,"Last Arena has Been Disabled.");
la[playerid] = 0;
format(file, sizeof(file), USERS_FILE, gPlayers[playerid]);
dini_Set(file, "Nola", "0");
}
else SendClientMessage(playerid,COLOR_GREEN,"Error: /c la [on/off]");
}
return 1;
}


Third
When A Player Dies Redirect to the last Arena
Add This on PublicOnPlayerSpawn

if(spaz[playerid] = 1) //
else if(la[playerid] =1)
{
SetPlayerWeapon(playerid,0,0); //
SendClientMessage(playerid,COLOR_BLUE,"You Have Been Redirected The spaz arena");
SetPlayerPos(playerid,XYZCoords);
  {
  {
if(colt[playerid] = 1) //
else if(la[playerid] =1)
{
SetPlayerWeapon(playerid,0,0); //
SendClientMessage(playerid,COLOR_BLUE,"You Have Been Redirected The colt arena");
SetPlayerPos(playerid,XYZCoords);
{
  {
  if(m4[playerid] = 1) //
else if(la[playerid] =1)
{
SetPlayerWeapon(playerid,0,0); //
SendClientMessage(playerid,COLOR_BLUE,"You Have Been Redirected The m4 arena");
SetPlayerPos(playerid,XYZCoords);
{
  {
if(uzi[playerid] = 1) //
else if(la[playerid] =1)
{
SetPlayerWeapon(playerid,0,0); //
SendClientMessage(playerid,COLOR_BLUE,"You Have Been Redirected The uzi arena");
SetPlayerPos(playerid,XYZCoords);
{
  {
  if(shotgun[playerid] = 1) //
else if(la[playerid] =1)
{
SetPlayerWeapon(playerid,0,0); //
SendClientMessage(playerid,COLOR_BLUE,"You Have Been Redirected The shotgun arena");
SetPlayerPos(playerid,XYZCoords);
  {
  {
  {
  return 1;
  }


Forth
Add This ON TOP if u dont add this it shows Full Errors

new Shotgun[MAX_PLAYERS];
  new colt[MAX_PLAYERS];
  new la[MAX_PLAYERS];
  new spaz[MAX_PLAYERS];
  new m4[MAX_PLAYERS];
  new uzi[MAX_PLAYERS];


Final
Well, I Realy Dont know to Use Timer Function Ask anyone Who knows More about timer Function
if it shows error Delete this. This is used to avoid Death Evade

On Gamemodeint
SetTimer("SetPlayerPos",5000,0);


Hope it Helps if u find Errors Pm me or post it here ouch my hand aches
Om.....................               8)
#110
mIRC/pawn Scripting / Re: Prop Spawn
March 29, 2011, 11:08:12 AM
Quote from: cycu on March 29, 2011, 10:57:30 AM
Quote from: yazeen on March 29, 2011, 06:02:18 AM
And what this function will do is that it will check the prop ID which player owns and send him to right spawn
I use
IsThatHisProperty

Sure that's fine i showed you only an example, it's up to you what name you will call it.

However i think you get the point ?

While player is spawning you have to check his Property ID and as mentioned above, use 'IsThatHisProperty' function to assign right spawn.

But! if you put this in OnPlayerSpawn the player will be bugged(Player can't shoot, enter cars) and the only solution for this is to jump once, but in the end it will be something like this: "What the hell is going on I'm bugged this server sucks"

I think the reason for this bug is because in on GameModeInit you have different spawn pos (AddPlayerClass/AddPlayerClassEx)
then in 'IsThatHisProperty' kind functions where SetPlayerPos is used which leads to this bug.

You can try to use SetTimer - so the function will be called e.g 700 milliseconds after spawn.

I will do tutorial on making on way around 'Making your way around because there is no SetTimerEx function...'

8)



Thx a lot Dude  8) YOu Help me in everytopic Give others a chance lol
#111
Quote from: Scripter on March 29, 2011, 10:16:23 AM
else if(IsPlayerRange(playerid,-1000.6920, -868.6602, 12.3883, 20)) MessagePM(playerid, GREEN,"[Error] - You need to be in the Sunshine Autos!");

this not works madara
in !buycar and !sellcar
r there is anyway to fix it

Hmm Use Shadow's PlayerToPoint or Gups GetPlayerLocation
#112
General Discussion / Re: Freestylez Role-play
March 29, 2011, 09:53:25 AM
Well Most people Loves Rpg more than Dm and i dont know any rpg commands So i just tried to make like argonath server well this is not match for the nail of argonath.
#113
Quote from: sseebbyy on March 29, 2011, 08:00:19 AM
but... /c sellprop, /c buyprop ?

I need Property System !

Dude Take From Gups
#114
Errors Found:

C:\Documents and Settings\yachu\Desktop\Vcmp\Gamemodes\RPG Server\RPG Server\gamemodes\FSRPG.pwn(2276) : error 033: array must be indexed (variable "pickup")
C:\Documents and Settings\yachu\Desktop\Vcmp\Gamemodes\RPG Server\RPG Server\gamemodes\FSRPG.pwn(2277) : error 033: array must be indexed (variable "pickup")
C:\Documents and Settings\yachu\Desktop\Vcmp\Gamemodes\RPG Server\RPG Server\gamemodes\FSRPG.pwn(2279) : error 033: array must be indexed (variable "pickup")
C:\Documents and Settings\yachu\Desktop\Vcmp\Gamemodes\RPG Server\RPG Server\gamemodes\FSRPG.pwn(2280) : error 033: array must be indexed (variable "pickup")
C:\Documents and Settings\yachu\Desktop\Vcmp\Gamemodes\RPG Server\RPG Server\gamemodes\FSRPG.pwn(2283) : error 033: array must be indexed (variable "pickup")



C:\Documents and Settings\yachu\Desktop\Vcmp\Gamemodes\RPG Server\RPG Server\gamemodes\FSRPG.pwn(68) : error 021: symbol already defined: "income"
C:\Documents and Settings\yachu\Desktop\Vcmp\Gamemodes\RPG Server\RPG Server\gamemodes\FSRPG.pwn(77) : error 021: symbol already defined: "pickup"


Errors  8)
#115
hmmmmmm ,
                  Man did u mean Payday only for Those who buyprop or for all?
#116
Everyone Wanted thi Good one Spot
#117
Videos and Screenshots / Re: ViceCityMultiPlayer1
March 29, 2011, 06:19:02 AM
Quote from: Javi on February 23, 2010, 11:01:05 PM
Quote from: Ghostface_Killah on February 23, 2010, 10:14:17 PM
Quote from: Forze on February 23, 2010, 09:52:16 PM
Quote from: j-king on February 23, 2010, 08:32:40 PM
also i didnt know you can crouch glitch in xe o_O
No, you can't >_>

yes you can, what's the difference between the crouch glitch and fast switch anyway?
Huh? So you are letting people glitch as much as they want? Crouch glitch is better than fast switch, it's faster.

Omfg i got Banned For Crounch Glith is Xe!! some Bitch Posted my Crounh Glithin Video
#118
ShowRoom (pawn) / Re: GUPS 1.16a
March 29, 2011, 06:11:58 AM
Tamas can u fix the Addprop, Addveh please!!!
#119
mIRC/pawn Scripting / Re: Help!!!!
March 29, 2011, 06:10:18 AM
Quote from: tato on March 29, 2011, 03:15:14 AM
Quote from: locday123 on March 13, 2011, 02:33:51 PM
How To ADD Pickups GUPS.16a ????
easy just open the pawn gm then goto
public OnGameModeInit()
{
and put this
AddStaticPickup([ID],[ID PICKUP],[Coord X],[Coord Y],[Coord Z]);

For example:
AddStaticPickup(1,407,-863.725342,-565.413086,11.106840);

have fun...

No use It Shows <<Owner>>> Cost<> BlaBlaBla thats why i told to use my topic Pfff
#120
mIRC/pawn Scripting / Re: Anti-Speed hack
March 29, 2011, 06:05:06 AM
Anyone Have Anti-Crasher Tool or smthin caz Someone Crashes my Server When i play on it he sends High Attacks  >:(