SA-MP Forums Archive
INT Problem - 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: INT Problem (/showthread.php?tid=79523)



INT Problem - propilot - 28.05.2009

hey!

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{


  SetPlayerInterior(playerid,3);
    SetPlayerPos(playerid,1206.9768,-32.5926,1000.9531);
    SetPlayerFacingAngle(playerid,249.3010);
    SetPlayerCameraPos(playerid,1209.1083,-33.8061,1000.9531);
    SetPlayerCameraLookAt(playerid,1206.9768,-32.5926,1000.9531);


    switch (classid) {

        case 0,1,2,3,4,5,6:

          {

                GameTextForPlayer(playerid, "~b~POLICE OFFICER~n~~w~CITY OFFICER", 3000, 5);

            }

        case 7:

        {

                GameTextForPlayer(playerid, "~b~POLICE OFFICER~n~~w~FBI", 3000, 5);

            }

        case 8:

        {

                GameTextForPlayer(playerid, "~b~SA ARMY OFFICER~n~~w~DEADLY FORCE SQUAD", 3000, 5);

            }

    case 9:

        {

                GameTextForPlayer(playerid, "~w~CASINO SECURITY", 3000, 5);

            }

      case 10:

        {

                GameTextForPlayer(playerid, "~b~POLICE OFFICER~n~~w~CASUAL CLOTHES", 3000, 5);

            }

        case 11:

        {

                GameTextForPlayer(playerid, "~b~POLICE OFFICER~n~~w~AIR SUPPORT", 3000, 5);

            }

        case 12:

        {

                GameTextForPlayer(playerid, "~b~POLICE OFFICER~n~~w~MARINE SUPPORT", 3000, 5);

            }

        case 13:

        {

                GameTextForPlayer(playerid, "~b~JAIL TURNKEY", 3000, 5);
      }

        case 14:

        {

                GameTextForPlayer(playerid, "~b~MEDIC", 3000, 5);

            }

        case 15:

        {

                GameTextForPlayer(playerid, "~w~CAR MECHANIC", 3000, 5);

            }

        case 16:

        {

                GameTextForPlayer(playerid, "~w~BISTRO STAFF", 3000, 5);

            }

        case 17,18:

        {

                GameTextForPlayer(playerid, "~g~TAXI DRIVER", 3000, 5);

            }
        case 19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63:

        {

                GameTextForPlayer(playerid, "~w~CIVILIAN~b~~n~CHOOSE A JOB WHEN YOU SPAWN", 3000, 5);

            }

}
    return 1;
}
I use this code from cops and robbers to my own gamemode but when the play logs in he cant see anything why??
and /login /register ((admin system )) is script


Re: INT Problem - JoeDaDude - 28.05.2009

OnPlayerSpawn
SetPlayerInterior(playerid, 0);


Re: INT Problem - propilot - 28.05.2009

Quote:
Originally Posted by JoeDaDude
OnPlayerSpawn
SetPlayerInterior(playerid, 0);
that going in my /login right?


Re: INT Problem - JoeDaDude - 28.05.2009

It can go anywhere, Just aslong as its your gamemode or one of your running fs


Re: INT Problem - propilot - 28.05.2009

Quote:
Originally Posted by JoeDaDude
It can go anywhere, Just aslong as its your gamemode or one of your running fs
didnt work.


Re: INT Problem - JoeDaDude - 28.05.2009

Hmm, If no1 has solved it by tommorow I will look into it


Re: INT Problem - propilot - 28.05.2009

Quote:
Originally Posted by JoeDaDude
Hmm, If no1 has solved it by tommorow I will look into it
okay thanks.