09.06.2011, 15:04
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:
/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;
}