29.07.2010, 18:31
Opa obrigado cara deu serto =D eu que tava coloando as coisas erradas Vlw.
Quote:
Tenta isso:
Код:
if(strcmp(cmd, "/kitsocio", true) == 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pSocio]) { format(string, sizeof(string), "* : %s Pegou Seu Kitsocio.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 500); GivePlayerWeapon(playerid, 30, 1500); GivePlayerWeapon(playerid, 29, 1000); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 34, 500); SendClientMessage(playerid,COLOR_GREEN,"Voce pegou o seu Kitsocio!"); return 1; } } |