dzσηι™ wrote on March 26, 2013, 10:04 am:
pa udji u server...
Kako ?
Naš forum je uspješno migriran na novu platformu. Svi vaši podaci, računi i sadržaj su prebačeni na GTABLKN.
Pritisnite Enter za pretragu ili Escape za zatvaranje
Prevuci gore ili dole za pozicioniranje
Izgleda da eldinowski trenutno ne radi ništa


if(strcmp(cmd, "/getcar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /getcar ");
return 1;
}
new Float:plocx,Float:plocy,Float:plocz;
new plo;
plo = strval(tmp);
if (PlayerInfo >= 6)
{
GetPlayerPos(playerid, plocx, plocy, plocz);
SetVehiclePos(plo,plocx+8,plocy, plocz);
LinkVehicleToInterior(plo, GetPlayerInterior(playerid));
SetVehicleVirtualWorld(plo, GetPlayerVirtualWorld(playerid));
OnPropUpdate(4);
format(string, sizeof(string),": %s Has Teleported Vehicle [%d] To his Position",sendername,plo);
ABroadCast(COLOR_LIGHTRED,string, 5);
new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Has Teleported the car [%d] To himself.",d,m,y,h,mi,s,sendername,plo);
AdminLog(string);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}Nivo 2
5 / 20 otključano