Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Mansoor ali on April 16, 2012, 05:44:02 pm

Title: A little help plz
Post by: Mansoor ali on April 16, 2012, 05:44:02 pm
hi guyz i need player spawn system when i spawn as criminal server say that: *** You have spawned as a criminal.
and whan i spawn as cop , army , fbi , swat than server say that: *** You have spawned as a law enforcement person.
plz help me scripters!
Title: Re: A little help plz
Post by: Mansoor ali on April 17, 2012, 10:15:56 am
Plz scripter  help me plz  :-[ :'(
Title: Re: A little help plz
Post by: sseebbyy on April 17, 2012, 05:18:44 pm
What Class ID is for criminal ?

What Class ID is for cop/army/fbi/swat ?
Title: Re: A little help plz
Post by: Mansoor ali on April 17, 2012, 05:25:20 pm
What Class ID is for criminal ?

What Class ID is for cop/army/fbi/swat ?

SKIN_COP class id: 1
SKIN_SWAT  class id: 2
SKIN_FBI  class id: 3
SKIN_ARMY  class id: 4
SKIN_CRIMINAL  class id: 11
Title: Re: A little help plz
Post by: sseebbyy on April 17, 2012, 06:24:05 pm
Put at OnPlayerSpawn:

Code: [Select]
if(classid == 1 || classid == 2 || classid == 3 || classid == 4) {
   SendClientMessage(playerid,COLOR_YELLOW,"*** You have spawned as a law enforcement person.");
}
if(classid == 11) {
   SendClientMessage(playerid,COLOR_YELLOW,"*** You have spawned as a criminal.");
}
Title: Re: A little help plz
Post by: Mansoor ali on April 17, 2012, 08:16:47 pm
Thankx u r the best scripter  8) :o