Vice City Multiplayer

General Discussion => Support => Topic started by: krakkster on August 25, 2012, 10:55:04 am

Title: I want to make a tournament server
Post by: krakkster on August 25, 2012, 10:55:04 am
I actually want to know how to set the starting weapons of a player when he/she is spawned
I want to make it like : When I join my server I will get only tec90,katana , stubby shotgun
Please Help me soon
Title: Re: I want to make a tournament server
Post by: Fuzzy168 on August 26, 2012, 07:03:54 am
It's been awhile since I scripted Pawn.. Here you go..
[pawn]public OnPlayerSpawn( playerid, classid )
{
   //Player has spawn so we disarm him first...
   SetPlayerWeapon( playerid, 0, 0 );
   //Now we give player weapons...
   SetPlayerWeapon( playerid, 10, 1 );/*Katana*/
   SetPlayerWeapon( playerid, 22, 9999 );/*Tec9*/
   SetPlayerWeapon( playerid, 21, 9999 );/*Stubby*/
   return 1;
}[/pawn]
Title: Fuzzy thanx
Post by: krakkster on August 27, 2012, 06:17:17 pm
Man Indeed u Helped me alot I acctually did the same thing but u gave wepon ID's n I gave names By the way thnxx u R0ck
Title: Re: I want to make a tournament server
Post by: krakkster on August 27, 2012, 06:55:48 pm
i NEED your help how do i use these codes when I am inserting in mode.pwn they aren't working NEED HELP !!!!!! :)
Title: Re: I want to make a tournament server
Post by: Fuzzy168 on August 28, 2012, 04:33:19 am
I depends on what code your using.. Search around and see topics which probably have the solution.
Title: Fuzzy
Post by: krakkster on August 28, 2012, 01:11:14 pm
Just give me a Step by step tutorial on this matter