SA-MP Forums Archive
Jetpack some - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Jetpack some (/showthread.php?tid=654295)



Jetpack some - Shuffle013 - 25.05.2018

fiz cmd de so vip pegar jetpack mas ele some quando eu do /vjetpack ele aparece e some

PHP код:
if(strcmp("/vjetpack"cmdtexttrue) == 0) {
if(
CallRemoteFunction("GetPlayerVIPLevel","i",playerid) < 2) return SendClientMessage(playerid,COLOUR_ERRO,StringTable[8]);
if(
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOUR_ERRO,"Saia do carro para usar jetpack!");
if(
Arena[playerid] == 1) return SendClientMessage(playeridCOLOUR_ERROStringTable[0]);
if(
NoEvento[playerid] == && EventoAtivo == 1) return SendClientMessage(playeridCOLOUR_ERRO"{FF0000}|ERRO| » {FFFFFF}Vocк estб em um evento. Para sair: {FF0000}/sair");
SetPlayerSpecialAction(playerid2);
CallRemoteFunction("CMDMessageToVips","ii",playerid,"VJETPACK");
PlayerPlaySound(playerid,1053,0.0,0.0,0.0);
SendClientMessage(playeridCOLOUR_INFORMACAO"Aproveite sua Jetpack!");
return 
1;




Re: Jetpack some - PawnFox - 25.05.2018

English please ?. This is English board ....