help please
#2

go in game and use
/rcon login yourpassword
The password you will find it on your server.cfg then you may use this command if not just use this:
pawn Код:
new cmd[256];
    if(strcmp(cmd, "/getcar", true) == 0)
           {
               if(IsPlayerConnected(playerid))
                   {
   
                      new idx;
                      new id[1000];
                    id = strtok(cmdtext,idx);
                     if(strlen(id)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /getcar [carid]");
                      new Float:x, Float:y, Float:z, Float:Angel;
                       GetPlayerPos(playerid, x, y, z);
                    GetPlayerFacingAngle(playerid, Angel);
                    CreateVehicle(strval(id), x, y, z, Angel, 0, 0, 0);
                    return 1;
                }
            }
                     
    return 0;
}
Reply


Messages In This Thread
help please - by Armada - 09.06.2011, 14:54
Re : help please - by Naruto_Emilio - 09.06.2011, 15:04
Re: help please - by Armada - 09.06.2011, 15:16
Re: help please - by Armada - 09.06.2011, 16:19
Re : Re: help please - by Naruto_Emilio - 17.06.2011, 15:22

Forum Jump:


Users browsing this thread: 1 Guest(s)