- 0
/ad help
-
Similar Content
-
- 0 answers
- 558 views
-
-
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
xxSPEEDYxx
Salls, cum pot sa fac asa de ex la commanda asta:
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), "[RadioVibeFm] %s |Message sent by %s (playerid:%d) pm me!||",message, playername, playerid); printf(string); SendClientMessageToAll(0xADFF2FAA, string); GivePlayerMoney(playerid,-2000); } return 1; }sa nu ii permita sa foloseasca commanda daca playerul are 0 bani
ca la mn cand playerul are 0000000000 CASH foloseste commanda si ii da -2000 de cash...deci cum se poate face ca sa nui permita sa foloseasca comanda daca are 0 cash???va rog help
Fara reclama in semnatura!
2 answers to this question
Recommended Posts