SendClientMessageToAll Help
#6

there is many way to do that. but i mostly use that because its only 1 line and convserved space
pawn Код:
CMD:hey(playerid,params[])//1st Pattern i always use
{
    if(x != 1) reuturn SendPM(playerid,x...,x...); // you dont need true
    return 1;
}

CMD:hey(playerid, params[])//i never tried this one
{
if(x != 1)
{
    SendPM(playerid,x...,x...);
    return 1;
}
return 1;
}

CMD:hey(playerid, params[])//sometimes i use
{
if(x != 1)
{
    return SendPM(playerid,x...,x...);
}
return 1;
}

CMD:hey(playerid, params[]//most people use this way
{
if(x != 1)
{
//stuff in here
}
else SendPM(playerid,x...,x...);
return 1;
}
Reply


Messages In This Thread
SendClientMessageToAll Help - by ofir060 - 01.03.2013, 17:04
Re: SendClientMessageToAll Help - by Patrick - 01.03.2013, 17:11
Re: SendClientMessageToAll Help - by AndreT - 01.03.2013, 17:29
Re: SendClientMessageToAll Help - by ofir060 - 01.03.2013, 18:43
Re: SendClientMessageToAll Help - by ofir060 - 01.03.2013, 19:42
Re: SendClientMessageToAll Help - by Patrick - 01.03.2013, 20:17
Re: SendClientMessageToAll Help - by AndreT - 01.03.2013, 21:57
Re: SendClientMessageToAll Help - by ofir060 - 01.03.2013, 23:12
Re: SendClientMessageToAll Help - by mittukuttan - 02.03.2013, 03:30
Re: SendClientMessageToAll Help - by Denying - 02.03.2013, 06:08

Forum Jump:


Users browsing this thread: 5 Guest(s)