29.10.2016, 00:03
Код:
if(IsPlayerNPC(playerid)) { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); if(strcmp(npcname, "NPCJoaquim", true) == 0) { Logado[playerid] = 1; PutPlayerInVehicle(playerid, NPCJoaquimV, 0); SetPlayerColor(playerid, 0xFFA500FF); SetPlayerSkin(playerid, 5); JoaquimTexto = Create3DTextLabel("Joaquim", 0xFFC000FF, 0.0,0.0,0.0, 30.0 ,0,0); Attach3DTextLabelToPlayer(JoaquimTexto, playerid, 0.0, 0.0, 0.0); } return 1; }