- 0
2 Intrebari
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Roach
Pe sv de stunt cand dau /ad(Doar /ad si cand scriu /ad text...)imi scrie dedesupt /ad[TEXT]dar mai dedesupt imi zice ''Comanda /ad nu exista''Cum sa rezolv asta?
Si cum sa rezolv bugul ca atunci cand ma tp sami ramana armele...ex:Am Minigun si vreau sa merg la /aa ca sai omor pe uni cum fac ca sami ramana armele?
if(strcmp(cmd, "/ad", true) == 0) { new message[256]; new playername[MAX_PLAYER_NAME]; strmid(message, cmdtext, 3, strlen(cmdtext)); GetPlayerName(playerid, playername, sizeof(playername)); if(!strlen(message)) { SendClientMessage(playerid, 0xFF0606FF, "|| Use /ad [text] ||"); } else { format(string, sizeof(string), "[Radio] %s |Message sent by %s (playerid:%d) pm me!||",message, playername, playerid); printf(string); SendClientMessageToAll(0xADFF2FAA, string); GivePlayerMoney(playerid,-2000); } }Underground-GFX
3 answers to this question
Recommended Posts