Wepons show in request class - 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: Wepons show in request class (
/showthread.php?tid=230415)
Wepons show in request class -
aqu - 23.02.2011
helllo,I want to make that,when player in selecting skin,there will show skins weapons.
Some think like this:
Some one knows ?
Re: Wepons show in request class -
Riddick94 - 23.02.2011
All skins got's the same weapon? or teams the same weapons.. ?
pawn Код:
public OnPlayerRequestClass(playerid, classid)
pawn Код:
switch(classid)
{
case 0:TextDrawSetString
case 1:Other TextDrawString
case 2:Etc..
}
TextDrawShowForPlayer(playerid, WEAPON_TEXTDRAW);
Код:
case 0: - First class in OnGameModeInit.
case 1: - Second class in OnGameModeInit.
etc..
Re: Wepons show in request class -
aqu - 23.02.2011
what should I type in
?
And each skin,has got different weapons
Re: Wepons show in request class -
aqu - 23.02.2011
I tried like this:
Код:
// On player request class
new pClass[MAX_PLAYER];
pClass[playerid] = classid;
if(pClass[playerid] == 60)
{
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~Deagle,Combat,Ak", 3000, 3);
return 0;
}
But not works
Re: Wepons show in request class -
Riddick94 - 23.02.2011
At this moment you're using GameTextForPlayer. You wan't TextDraw or GameTextForPlayer?
etc - other skins readed from OnGameModeInit.