[AJUDA] Bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Bug (
/showthread.php?tid=289944)
[AJUDA] Bug -
Laercio - 13.10.2011
Bom , Eu Fiz uma HQ de admin e Queria que eles Nascecem lб Tipoo , Mas eu coloquei mas bugo
Aqui o Code :
Код:
public SetPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SetPlayerPos(playerid, 655.7656,-2676.1335,2.0187);
SendClientMessage(playerid, 0xFFFF00AA, "Vocк Nasceu em sua HQ Admin!");
SetPlayerVirtualWorld(playerid,0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
{
if(sincronizando[playerid] == 1)
{
return 1;
}
Bom Se Souber como desbugar fala ai please ,
Quando eu entro , Vo no Spawn Civil , Invez da Hq dos Admins
Re: [AJUDA] Bug -
Lуs - 13.10.2011
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SetPlayerPos(playerid, 655.7656,-2676.1335,2.0187);
SendClientMessage(playerid, 0xFFFF00AA, "Vocк Nasceu em sua HQ Admin!");
SetPlayerVirtualWorld(playerid,0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
else
{
return 0;
}
GF?
Re: [AJUDA] Bug -
Josma_cmd - 13.10.2011
pawn Код:
public SetPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pAdmin] > 0)
{
SetPlayerPos(playerid, 655.7656,-2676.1335,2.0187);
SendClientMessage(playerid, 0xFFFF00AA, "Vocк Nasceu em sua HQ Admin!");
SetPlayerVirtualWorld(playerid,0);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return true;
}
Re: [AJUDA] Bug -
Laercio - 13.10.2011
Quote:
Originally Posted by Los
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 1) { SetPlayerPos(playerid, 655.7656,-2676.1335,2.0187); SendClientMessage(playerid, 0xFFFF00AA, "Vocк Nasceu em sua HQ Admin!"); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; return 1; } else { return 0; }
GF?
|
A Base й