Help with Skin Choising Names...(Explained In post)
#1

Hello.
I am editing an Wars GM for a friend, and he wanted to change al gangs name and stuff...
The problem is:

There is some gangs, that i replaced with others... One example, are the Workers...
I've replace all workers definitions, and setted them to AdminGroup, but when i go in the class point, for choising the skin, under the AdminGroup skinsm it still saying workers....
Why is that happening?
I don't have ANYTHING in the GM/FS's with the name Workers, but they are showing in game....
Please help me. Is there a reason?
If needed, i will psot the script.

Thank you.
Reply
#2

Show us your OnPlayerRequestClass.
Reply
#3

It is there.

pawn Код:
public OnPlayerRequestClass( playerid, classid )
{
    SetPlayerClass( playerid, classid );
    SetPlayerColor( playerid, COLOR_INACTIVE );
    PlayerPlaySound( playerid, 1068, 0.0, 0.0, 0.0 );

    switch(classid)
    {
       case 0..3:
       {
         SetPlayerPos(playerid,1810.5295,-2103.0408,13.5469);
         SetPlayerCameraPos(playerid,1814.3398,-2100.5222,13.5469);
         SetPlayerCameraLookAt(playerid,1810.5295,-2103.0408,13.5469);
         SetPlayerFacingAngle(playerid,300.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Aztecas", 3000, 3);
         ApplyAnimation(playerid,"RIOT", "RIOT_ANGRY",4.0,1,1,1,1,1);
       }
       case 4..7:
       {
         SetPlayerPos(playerid,2654.5081,-1063.5448,69.5937);
         SetPlayerCameraPos(playerid,2658.3940,-1060.7126,69.5209);
         SetPlayerCameraLookAt(playerid,2654.5081,-1063.5448,69.5937);
         SetPlayerFacingAngle(playerid,300.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Vagos", 3000, 3);
         ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
       }
       case 8..11:
       {
         SetPlayerPos(playerid,1979.8929,-1143.1704,25.9858);
         SetPlayerCameraPos(playerid,1975.8948,-1145.9689,25.9895);
         SetPlayerCameraLookAt(playerid,1979.8929,-1143.1704,25.9858);
         SetPlayerFacingAngle(playerid,120.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Ballas", 3000, 3);
         ApplyAnimation(playerid,"GHANDS", "gsign2LH",4.0,1,1,1,1,1);
       }
       case 12..15:
       {
         SetPlayerPos(playerid,2498.2249,-1644.6326,18.8751);
         SetPlayerCameraPos(playerid,2498.2676,-1640.1935,18.6116);
         SetPlayerCameraLookAt(playerid,2498.2249,-1644.6326,18.8751);
         SetPlayerFacingAngle(playerid,0.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Orange Grove Families", 3000, 3);
         ApplyAnimation(playerid,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,1);
       }
       case 16..19:
       {
         SetPlayerPos(playerid,2785.7817,-1956.1940,20.4537);
         SetPlayerCameraPos(playerid,2791.5693,-1956.3384,21.3124);
         SetPlayerCameraLookAt(playerid,2785.7817,-1956.1940,20.4537);
         SetPlayerFacingAngle(playerid,270.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Dealers", 3000, 3);
         ApplyAnimation(playerid,"DEALER", "DEALER_IDLE",4.0,1,1,1,1,1);
       }
       case 20..23:
       {
         SetPlayerPos(playerid,1524.5602,-1581.9534,23.5469);
         SetPlayerCameraPos(playerid,1524.6063,-1577.8397,23.5469);
         SetPlayerCameraLookAt(playerid,1524.5602,-1581.9534,23.5469);
         SetPlayerFacingAngle(playerid,0.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Cops", 3000, 3);
         ApplyAnimation(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
       }
       case 24..27:
       {
         SetPlayerPos(playerid,953.6748,-1696.7352,20.3672);
         SetPlayerCameraPos(playerid,958.7288,-1701.0875,20.9513);
         SetPlayerCameraLookAt(playerid,953.6748,-1696.7352,20.3672);
         SetPlayerFacingAngle(playerid,225.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Bikers", 3000, 3);
         ApplyAnimation(playerid,"GANGS", "Invite_Yes",4.0,1,1,1,1,1);
       }
       case 28..31:
       {
         SetPlayerPos(playerid,1288.2465,-800.1273,96.4609);
         SetPlayerCameraPos(playerid,1285.2930,-795.5814,96.4609);
         SetPlayerCameraLookAt(playerid,1288.2465,-800.1273,96.4609);
         SetPlayerFacingAngle(playerid,20.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Rappers", 3000, 3);
         ApplyAnimation(playerid,"LOWRIDER", "RAP_A_Loop",4.0,1,1,1,1,1);
       }
       case 32..35:
       {
         SetPlayerPos(playerid,2080.7639,-2377.9961,18.4061);
         SetPlayerCameraPos(playerid,2082.9263,-2373.7207,18.4061);
         SetPlayerCameraLookAt(playerid,2080.7639,-2377.9961,18.4061);
         SetPlayerFacingAngle(playerid,325.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Guards", 3000, 3);
         ApplyAnimation(playerid,"COP_AMBIENT", "Coplook_think",4.0,1,1,1,1,1);
       }
       case 36..39:
       {
         SetPlayerPos(playerid,2752.8835,-2513.6389,25.7914);
         SetPlayerCameraPos(playerid,2753.1050,-2519.0244,26.6926);
         SetPlayerCameraLookAt(playerid,2752.8835,-2513.6389,25.7914);
         SetPlayerFacingAngle(playerid,180.0);
         GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Hoodlums", 3000, 3);
         ApplyAnimation(playerid,"GYMNASIUM", "GYMshadowbox",4.0,1,1,1,1,1);
       }
       case 40..43:
       {
         SetPlayerPos(playerid,1262.5465,-1260.1057,13.2015);
         SetPlayerCameraPos(playerid,1265.7855,-1262.5286,13.2771);
         SetPlayerCameraLookAt(playerid,1262.5465,-1260.1057,13.2015);
         SetPlayerFacingAngle( playerid,230.0 );
         GameTextForPlayer( playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Workers", 3000, 3 );
         ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
       }
    }
    return 1;
}
Oh, i solved it myself. Thank you.
Reply
#4

pawn Код:
case 40..43:
       {
         SetPlayerPos(playerid,1262.5465,-1260.1057,13.2015);
         SetPlayerCameraPos(playerid,1265.7855,-1262.5286,13.2771);
         SetPlayerCameraLookAt(playerid,1262.5465,-1260.1057,13.2015);
         SetPlayerFacingAngle( playerid,230.0 );
         GameTextForPlayer( playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Workers", 3000, 3 ); // Here is your problem
         ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
       }
Look my comment, and replace it with something else
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)