Wepons show in request class
#1

helllo,I want to make that,when player in selecting skin,there will show skins weapons.

Some think like this:


Some one knows ?
Reply
#2

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..
Reply
#3

what should I type in
Код:
Etc..
?

And each skin,has got different weapons
Reply
#4

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
Reply
#5

At this moment you're using GameTextForPlayer. You wan't TextDraw or GameTextForPlayer?

etc - other skins readed from OnGameModeInit.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)