Help with Strcmp
#8

Cleaner way.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/car", cmdtext, true) == 0)
    {
    new Float:X, Float:Y, Float:Z, Float:R;
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, R);
    CreateVehicle(506, X, Y, Z, R, -1, -1, 600000);
    return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Help with Strcmp - by pickle55 - 23.09.2009, 22:06
Re: Help with Strcmp - by _Vortex - 23.09.2009, 22:26
Re: Help with Strcmp - by legendario - 23.09.2009, 22:27
Re: Help with Strcmp - by [HKS]dlegend - 23.09.2009, 23:05
Re: Help with Strcmp - by pickle55 - 23.09.2009, 23:19
Re: Help with Strcmp - by [HKS]dlegend - 23.09.2009, 23:22
Re: Help with Strcmp - by HuRRiCaNe - 24.09.2009, 05:13
Re: Help with Strcmp - by Abernethy - 24.09.2009, 05:35
Re: Help with Strcmp - by pickle55 - 24.09.2009, 16:31
Re: Help with Strcmp - by AG Adam - 24.09.2009, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)