[Ajuda] Comando BUGADO - 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] Comando BUGADO (
/showthread.php?tid=412336)
Comando BUGADO -
caoraivoso3 - 01.02.2013
Bem,eu faзo /usarmascara mas estб sempre sempre sempre a dizer que o comando nгo existe,porra --'
pawn Код:
if(strcmp(cmd, "/usarmascara", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][msMascara] == 0)
{
mesColor = GetPlayerColor(playerid);
SetPlayerAttachedObject(playerid, 3, 19036, 2, 0.107, 0.020, 0.0, 90, 90, 0);
PlayerActionMessage(playerid,15.0,"mete a mascara no rosto e preprara-se");
SetPlayerColor(playerid, 0xFFFFFF00);
return 1;
}
}
}
Outra cena,й se nгo tivermos comprado mascara,apareзe sempre a fala de tirar a mascara
pawn Код:
if(strcmp(cmd, "/tirarmascara", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][msMascara] == 1)
{
PlayerActionMessage(playerid,15.0,"tira a mascara do rosto");
SetPlayerColor(playerid,mesColor);
RemovePlayerAttachedObject(playerid,3);
}
else
{
if(PlayerInfo[playerid][msMascara] == 0)
{
SendClientMessage(playerid,COLOR_WHITE,"Nгo tas a usar mascara!");
}
return 1;
}
}
}
Re: Comando BUGADO -
WarniinG - 01.02.2013
Use o Search
https://sampforum.blast.hk/showthread.php?pid=1793839#pid1793839