Vice City Multiplayer
General Discussion => Support => Topic started 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
-
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]
-
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
-
i NEED your help how do i use these codes when I am inserting in mode.pwn they aren't working NEED HELP !!!!!! :)
-
I depends on what code your using.. Search around and see topics which probably have the solution.
-
Just give me a Step by step tutorial on this matter