andrei04072 Posted February 3, 2014 Posted February 3, 2014 Salut am si eu o problema la o comanda.Cand scriu in joc /carcommand imi apare mereu Syntax: /test <text> nu stiu de ce imi apare mereu asta adica scriu /carcommand Sultan si imi apare Syntax: /test <text>Aici este comanda:http://pastebin.com/PMK1Pp6p
Gireada Posted March 6, 2014 Posted March 6, 2014 Incearca asa [pawn]CMD:carcommand(playerid,params[]){ new szCom[100], szF[MAX_PLAYER_NAME +5], szName[MAX_PLAYER_NAME +1] ; GetPlayerName(playerid, szName, sizeof(szName)); if(sscanf(params, "s[100]", szCom)) return SendClientMessage( playerid, -1, "Syntax: /carcommand <text>"); { format(szF, MAX_PLAYER_NAME +5, "%s.txt", szName,szCom); if(!fexist(szF)) { new File:iFile = fopen(szF, io_write); fwrite(iFile, szCom); fclose(iFile); } else return SendClientMessage(playerid, -1, "Exista deja."); } return 1;}[/pawn]
Question
andrei04072
Salut am si eu o problema la o comanda.
Cand scriu in joc /carcommand imi apare mereu Syntax: /test <text> nu stiu de ce imi apare mereu asta adica scriu /carcommand Sultan si imi apare Syntax: /test <text>
Aici este comanda:http://pastebin.com/PMK1Pp6p
2 answers to this question
Recommended Posts