28.05.2009, 21:28
hey!
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
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;
}
and /login /register ((admin system )) is script