create a class name - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: create a class name (
/showthread.php?tid=124225)
create a class name -
E-Rage - 29.01.2010
i have created my class and now i want to create the class name anyone know how ?
Re: create a class name -
Moglizorz. - 29.01.2010
Not sure what you mean, sorry?
Re: create a class name -
E-Rage - 29.01.2010
Quote:
Originally Posted by Moglizorz.
Not sure what you mean, sorry?
|
i mean that some games you see players with names like :
police,army,fpi,swat...etc
Re: create a class name -
Cry_Wolf - 29.01.2010
OnPlayerRequestClass
switch
class id
GameTextForPlayer
Re: create a class name -
E-Rage - 29.01.2010
Quote:
Originally Posted by Cry_Wolf
OnPlayerRequestClass
switch
class id
GameTextForPlayer
|
can you give me an example ?
Re: create a class name -
timmehhh - 29.01.2010
[pawn]
OnPlayerRequestClass(playerid,classid){
switch(classid){
case 0:
GametextForPlayer(playerid,................);
case 1:
GametTEXTFORPLAYER
}
}
Re: create a class name -
akis_tze - 29.01.2010
join here
https://sampwiki.blast.hk/wiki/PAWN_tutorial
see how he makes team deathmatch and make your teams!