Help with cmd
#3

Quote:
Originally Posted by [ISS]jumbo
Посмотреть сообщение
pawn Код:
COMMAND:turf(playerid)
{
    for(new i = 0; i < MAX_TURFS; i++){
    if(IsPlayerInTurf(playerid, turfs[i][zMinX], turfs[i][zMinY], turfs[i][zMaxX], turfs[i][zMaxY])){
    SendClientMessage(playerid, 0xE0FF97FF, "You are in a turf.");
    }else{
    SendClientMessage(playerid, 0xE0FF97FF, "you are not in a turf.");}}
    return 1;
}
some like this?
This sends me 2 times the message (you are not in a turf.)
Reply


Messages In This Thread
Help with cmd - by ZamaXor - 07.04.2011, 16:58
Re: Help with cmd - by iJumbo - 07.04.2011, 17:03
Re: Help with cmd - by ZamaXor - 07.04.2011, 17:06
Re: Help with cmd - by iJumbo - 07.04.2011, 17:09
Re: Help with cmd - by ZamaXor - 07.04.2011, 17:31
Respuesta: Help with cmd - by Daniel-92 - 07.04.2011, 17:48

Forum Jump:


Users browsing this thread: 1 Guest(s)