Help with Command Text
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
It's just a message, no need format and get the vehicle id.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp("/infernus", cmdtext, true))
    {
        new Float:x, Float:y, Float:z, Float:a, Infernus;
        GetPlayerPos(playerid,x,y,z);
        GetPlayerFacingAngle(playerid, a);
        Infernus = CreateVehicle(411, x, y, z, a, -1, -1, 60);
        PutPlayerInVehicle(playerid, Infernus, 0);
        SendClientMessage(playerid,0xDAA520FF,"You have been teleported \"infernus\" to your place");
        return 1;
    }
    return 0;
}
Thank's, im just wanted to know how to use this string

but i will find some good tutorial really, thank's
GoodNight
Reply


Messages In This Thread
Help with Command Text - by wakeuptomer - 22.09.2013, 18:27
Re: Help with Command Text - by Konstantinos - 22.09.2013, 18:34
Re: Help with Command Text - by wakeuptomer - 22.09.2013, 18:40

Forum Jump:


Users browsing this thread: 1 Guest(s)