Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: faizan12345 on February 09, 2012, 07:38:35 am

Title: Only Little Bit Help i want?
Post by: faizan12345 on February 09, 2012, 07:38:35 am
1) My spawn characters doesn't show their skin names.
    I want they show their skin names...


2) And I want to remove team killing (Same skin players cannot able to Kill Each others)?


Please Resolve these Problems,I shall be Thankful to you For this act of Kindness...
Title: Re: Only Little Bit Help i want?
Post by: RasikhQadeer on February 09, 2012, 06:25:54 pm
add this OnGameModeInitIt
[pawn]SetPlayerFriendlyFire False[/pawn]
Title: Re: Only Little Bit Help i want?
Post by: heekz.shadow on February 09, 2012, 07:03:55 pm
add this OnGameModeInitIt
[pawn]SetPlayerFriendlyFire False[/pawn]
\

You missed the ( ) and the ; . Actually works with false / true like 0 / 1 . [pawn]SetPlayerFriendlyFire( 0 );[/pawn]
Title: Re: Only Little Bit Help i want?
Post by: Fuzzy168 on February 10, 2012, 07:59:57 am
1) My spawn characters doesn't show their skin names.
    I want they show their skin names...
[pawn]OnPlayerRequestClass(playerid, classid)[/pawn]
[pawn]if( classid == 0 )
    {
    //Some code here
    }[/pawn]
I don't have enough time to explain more.
Title: Re: Only Little Bit Help i want?
Post by: faizan12345 on February 10, 2012, 02:45:00 pm
Thanks...
But can any one give me spree command..?
Title: Re: Only Little Bit Help i want?
Post by: RasikhQadeer on February 10, 2012, 03:56:08 pm
thanks shadow and fuzzy faizan i am sorry but i can not make a spree cmd and i dont wanna copy paste from warchiefs i will try making one on my own for gups so please wait or ask help from some big scripters!
Title: Re: Only Little Bit Help i want?
Post by: Innocent Heart on February 10, 2012, 04:05:07 pm
thanks shadow and fuzzy faizan i am sorry but i can not make a spree cmd and i dont wanna copy paste from warchiefs i will try making one on my own for gups so please wait or ask help from some big scripters!
Yes Like BIG[H] or Madara Or Others .......................!
Title: Re: Only Little Bit Help i want?
Post by: faizan12345 on February 10, 2012, 06:01:25 pm
ok Rashikh iam waiting...
But can you tell me about
I want to remove score points system...
i want to add money system and stats system
what i do?
and if some one register with us when he left and connect again he dont loose his money...
Title: Re: Only Little Bit Help i want?
Post by: Innocent Heart on February 10, 2012, 06:52:14 pm
ok Rashikh iam waiting...
But can you tell me about
I want to remove score points system...
i want to add money system and stats system
what i do?
and if some one register with us when he left and connect again he dont loose his money...

What do U Mean bY Score Points System ???
Title: Re: Only Little Bit Help i want?
Post by: Fuzzy168 on February 11, 2012, 05:17:39 am
I want to remove score points system...
Put this at OnPlayerDeath
[pawn]   if( GetPlayerScore(killerid) != 0 )
   {
       SetPlayerScore(killerid,0);
       return 1;
   }[/pawn]

Haven't tested this..
Title: Re: Only Little Bit Help i want?
Post by: faizan12345 on February 11, 2012, 07:26:25 am
means
i dont want to show your points by pressing f5...
I want it shows money of player
Title: Re: Only Little Bit Help i want?
Post by: faizan12345 on February 11, 2012, 07:29:28 am
Fuzzy...
can you tell me about !heal command with timer or !goto, !gotoloc, !fix commands also with timer?
Title: Re: Only Little Bit Help i want?
Post by: Innocent Heart on February 11, 2012, 08:49:08 am
means
i dont want to show your points by pressing f5...
I want it shows money of player
oHHH ok !
Title: Re: Only Little Bit Help i want?
Post by: Fuzzy168 on February 11, 2012, 05:31:08 pm
Fuzzy...
can you tell me about !heal command with timer or !goto, !gotoloc, !fix commands also with timer?
You can't set a timer to a specific person as the SetTimer Function in Pawn does not have an argument's perimeter..
means
i dont want to show your points by pressing f5...
I want it shows money of player
This is actually an idea taken from Ka Deathmatch as they also use money instead of Score Points.. The idea is still the same. All you have to do is get the decrease the players cash and set the players score according to the cash and increase the killers cash and set the killers score according to the cash.. I do think that actually your even thinking on how to do this..
Title: Re: Only Little Bit Help i want?
Post by: faizan12345 on February 12, 2012, 07:52:36 am
thanks fuzzy i try it,,
Another thing i want to ask,
Is there any system for Pawn to spawn characters at random loc.
Like KA server...
Title: Re: Only Little Bit Help i want?
Post by: sseebbyy on February 13, 2012, 08:04:06 pm
Sure !

On Top:

Code: [Select]
enum playerspawns {
    Float:spawnx,
    Float:spawny,
    Float:spawnz,
}

new RandomPlayerSpawns[][playerspawns] = {
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z}
};

OnPlayerSpawn:

Code: [Select]
new rand = random(sizeof(RandomPlayerSpawns));
SetPlayerPos(playerid,RandomPlayerSpawns[rand][spawnx], RandomPlayerSpawns[rand][spawny], RandomPlayerSpawns[rand][spawnz],0,0);


This is .

Replace "x,y,z" with your coordonates.
Title: Re: Only Little Bit Help i want?
Post by: heekz.shadow on February 13, 2012, 10:17:58 pm
OFF: enough copycats? From me / GANGSTER ( which is also from me IMO )
ON: What's the point in making a server exactly like another server ? I don't get it. People want original things, not copy & paste..
Title: Re: Only Little Bit Help i want?
Post by: faizan12345 on February 14, 2012, 07:43:43 am
I am not copied thinking of another server i only make my stuff...
When i completed,then i make server better than other...
But the problem is that i am Only 2nd step begginer...
that's why i need help of some PRo's.....