17.09.2008, 10:54
Hello I am Spanish,when I put in de game /try , i get this /Try [action], but when i put /Try with the action,continues to go out /Try [action]
HELP!!!!!
Is it may be because there is nobody around? I think not because that would %s tries and fails in %s
HELP!!!!!
Quote:
if(!strcmp("/Try", cmdtext, true, 4)) { if(cmdtext[4] == ' ') { new plyName[MAX_PLAYER_NAME]; new buffer[255]; new rand = random(20); GetPlayerName(playerid, plyName, MAX_PLAYER_NAME); strdel(cmdtext, 0, 4); if(rand >= 10) { format(buffer, sizeof(buffer), "* %s tries and succeeds in %s", plyName, cmdtext); }else{ format(buffer, sizeof(buffer), "* %s tries and fails in %s", plyName, cmdtext); } for(new ply; ply != MAX_PLAYERS; ply++) { if(CheckPlayerDistanceToPlayer(20, playerid, ply)) { SendClientMessage(ply, 0x00FFFF, buffer); } } }else{ SendClientMessage(playerid, 0xFF0000FF, "USA: /Try [action]"); } return 1; } |
HELP!!!!!
Is it may be because there is nobody around? I think not because that would %s tries and fails in %s
HELP!!!!!