[Ajuda] Jeck para vips - 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] Jeck para vips (
/showthread.php?tid=520166)
Jeck para vips -
chefaoBR - 17.06.2014
ae galera , transforma esse codigo de /jetpack para vips pra mim.
enum pInfo
{
pVip,
pVip2,
Code:
if(strcmp(cmd, "/jetpack", true) == 0) {
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,0xFF0000AA,"Vocк nгo tem permissгo.");
return 1;
}
SendClientMessage(playerid, 0xFF7F50AA, "Jetpack ativado!");
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
return 1;
}
e coisa facil , mais n to conseguindo kk
Re: Jeck para vips -
MultiKill - 17.06.2014
pawn Code:
if(strcmp(cmd, "/jetpack", true) == 0) {
if(IsPlayerAdmin(playerid) || PlayerInfo[playerid][pVip] == 1 || PlayerInfo[playerid][pVip2] == 1)
{
SendClientMessage(playerid,0xFF0000AA,"Vocк nгo tem permissгo.");
return 1;
}
SendClientMessage(playerid, 0xFF7F50AA, "Jetpack ativado!");
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
return 1;
}