Skin FBI ...
Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid, 3); // Jizzy's Club in SF
SetPlayerPos(playerid, -2670.0515,1409.4496,907.5703);
SetPlayerFacingAngle(playerid, 268.5060);
SetPlayerCameraPos(playerid, -2667.1563,1409.3988,907.8232);
SetPlayerCameraLookAt(playerid, -2670.0515,1409.4496,907.5703);
//-------------------------------------------------------------------------------------------------------------------------------------
if(classid == 0) {
GameTextForPlayer(playerid,"~w~Burger Shot Girl",1000,5);
GameTextForPlayer(playerid,"~w~Food Delivery",1000,5);
} else if(classid == 1) {
GameTextForPlayer(playerid,"~w~Cluckin'n Bell",1000,5);
GameTextForPlayer(playerid,"~w~Food Delivery",1000,5);
} else if(classid == 2) {
GameTextForPlayer(playerid,"~w~Pizza Boy",1000,5);
GameTextForPlayer(playerid,"~w~Food Delivery",1000,5);
} else if(classid == 3) {
GameTextForPlayer(playerid,"~w~Taxi Girl",1000,5);
GameTextForPlayer(playerid,"~g~Taxi Driver",1000,5);
} else if(classid == 4) {
GameTextForPlayer(playerid,"~w~Taxi Man",1000,5);
GameTextForPlayer(playerid,"~g~Taxi Driver",1000,5);
}
return 1;
}
There write Name of Skin + under name of skin it write his/her job ...but when i try this just show ''Taxi Driver'' or ''Food Delivery'' wtf