- 0
Problema la ad
-
Similar Content
-
- 1 answer
- 124 views
-
- 1 answer
- 40 views
-
- 3 replies
- 303 views
-
- 1 reply
- 328 views
-
- 1 answer
- 185 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
ionutuidumanu
Nu pot sa scot deloc ad am scris si false in loc de true
if(strcmp(cmd, "/ad", false) == 1)
{
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);
}
The Legend
Link to comment
Share on other sites
4 answers to this question
Recommended Posts