08.03.2010, 21:32
Quote:
Originally Posted by DarK TeaM PT
como esta o seu registo pode meter as linhas ?? so preciso das linhas que fazem com que reconheзa o jogador e mande as mensagens ou como vc tem [mas atenзгo estou a pedir й tipo exemplo:]
pawn Код:
|
Код:
public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); if(!strcmp(npcname, "MeuPrimeiroNPC", true)) { PutPlayerInVehicle(playerid, MeuPrimeiroNPCVehicle, 0); } return 1; } SetPlayerInterior(playerid,0); PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0); PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0); ResetPlayerWeapons(playerid); TextDrawHideForPlayer(playerid,line1); TextDrawHideForPlayer(playerid,line3); TextDrawHideForPlayer(playerid,line2); TextDrawHideForPlayer(playerid, topblack); TextDrawHideForPlayer(playerid, bottomblack); new randt = random(sizeof(RandomTools)); new randp = random(sizeof(RandomPistols)); GivePlayerWeapon(playerid, RandomPistols[randp][0], RandomPistols[randp][1]); GivePlayerWeapon(playerid, RandomTools[randt][0], RandomTools[randt][1]); return 1; }