07.09.2011, 21:39
Ola, queria fazer pro sv do meu amigo um /checarcinto mais eu ja peguei titurias ai e nao consegui
vo passar o codigo do meu /cinto [gm BLS 2.0 NO BUGS] obs: sу para cop o /checarcinto
Agora o /capacete se poder quando bater com a moto perder vida [brigado]
se vc's poderem me ajudar iria ficar muito grato sou novo em pawn muito o brigado quem ajudo
vo passar o codigo do meu /cinto [gm BLS 2.0 NO BUGS] obs: sу para cop o /checarcinto
Quote:
if(!strcmp(cmdtext, "/cinto", true)) { if(IsPlayerInAnyVehicle(playerid)) { if(CintoPlayer[playerid] == 0) { CintoPlayer[playerid] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); SendClientMessage(playerid, COLOR_YELLOW,"[Cinto] Parabйns Vocк esta de Cinto, Agora Esta Protegido (/tirarcinto)"); format(string, sizeof(string), "%s coloca o cinto de seguranзa.", sendername); ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_YELLOW,"[Cinto] Vocк jб estб de cinto."); } } else { SendClientMessage(playerid, COLOR_YELLOW,"[Cinto] Vocк nгo estб em um veнculo."); } return 1; } |
se vc's poderem me ajudar iria ficar muito grato sou novo em pawn muito o brigado quem ajudo