Szerző Téma: ZCMD-bõl sima parancsokba  (Megtekintve 604 alkalommal)

Nem elérhető skyLine

  • Globális moderátor
  • 2171
  • 2020
  • Vaterán
    • Profil megtekintése
ZCMD-bõl sima parancsokba
« Dátum: 2012. február 19. - 15:14:58 »
0 Show voters
CMD:sfiar(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1364.476440, -249.069213, 16.406250);
} else {
SetPlayerPos(playerid,-1364.476440, -249.069213, 16.406250);
}
return 1;
}
CMD:jizzy(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2645.184082, 1386.401367, 7.155149);
} else {
SetPlayerPos(playerid,-2645.184082, 1386.401367, 7.155149);
}
return 1;
}
CMD:sf(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1954.626708, 297.651489, 35.468750);
} else {
SetPlayerPos(playerid,-1954.626708, 297.651489, 35.468750);
}
return 1;
}
CMD:lsair(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1961.774536, -2191.835693, 13.546875);
} else {
SetPlayerPos(playerid,1961.774536, -2191.835693, 13.546875);
}
return 1;
}
CMD:ls(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1479.565429, -1717.300903, 14.046875);
} else {
SetPlayerPos(playerid,1479.565429, -1717.300903, 14.046875);
}
return 1;
}
CMD:allhambra(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1828.495117, -1681.982910, 13.546875);
} else {
SetPlayerPos(playerid,1828.495117, -1681.982910, 13.546875);
}
return 1;
}
CMD:skatepark(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1882.025146, -1405.136596, 13.570312);
} else {
SetPlayerPos(playerid,1882.025146, -1405.136596, 13.570312);
}
return 1;
}
CMD:groove(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),2490.239257, -1668.436767, 13.343750);
} else {
SetPlayerPos(playerid,2490.239257, -1668.436767, 13.343750);
}
return 1;
}
CMD:lv(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),2035.981689, 1343.455932, 10.820312);
} else {
SetPlayerPos(playerid,2035.981689, 1343.455932, 10.820312);
}
return 1;
}
CMD:calligulas(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),2176.520263, 1677.109375, 10.820312);
} else {
SetPlayerPos(playerid,2176.520263, 1677.109375, 10.820312);
}
return 1;
}
CMD:4dragons(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),2035.649780, 1008.054565, 10.820312);
} else {
SetPlayerPos(playerid,2035.649780, 1008.054565, 10.820312);
}
return 1;
}
CMD:lvair(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1689.108886, 1591.765869, 10.820312);
} else {
SetPlayerPos(playerid,1689.108886, 1591.765869, 10.820312);
}
return 1;
}
CMD:chilliad(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2306.065429, -1659.437744, 483.672729);
} else {
SetPlayerPos(playerid,-2306.065429, -1659.437744, 483.672729);
}
return 1;
}

 
valaki átírná nekem sima parancsokba?

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
ZCMD-bõl sima parancsokba
« Válasz #1 Dátum: 2012. február 19. - 15:45:58 »
0 Show voters
Szia! Ha a Lu$taság fájna :D
 

public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, \"/sfiar\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),-1364.476440, -249.069213, 16.406250);
} else {
SetPlayerPos(playerid,-1364.476440, -249.069213, 16.406250);
}
return 1;
}
if(!strcmp(cmdtext, \"/jizzy\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),-2645.184082, 1386.401367, 7.155149);
} else {
SetPlayerPos(playerid,-2645.184082, 1386.401367, 7.155149);
}
return 1;
}
if(!strcmp(cmdtext, \"/sf\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),-1954.626708, 297.651489, 35.468750);
} else {
SetPlayerPos(playerid,-1954.626708, 297.651489, 35.468750);
}
return 1;
}
if(!strcmp(cmdtext, \"/lsair\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),1961.774536, -2191.835693, 13.546875);
} else {
SetPlayerPos(playerid,1961.774536, -2191.835693, 13.546875);
}
return 1;
}
if(!strcmp(cmdtext, \"/ls\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),1479.565429, -1717.300903, 14.046875);
} else {
SetPlayerPos(playerid,1479.565429, -1717.300903, 14.046875);
}
return 1;
}
if(!strcmp(cmdtext, \"/allhambra\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),1828.495117, -1681.982910, 13.546875);
} else {
SetPlayerPos(playerid,1828.495117, -1681.982910, 13.546875);
}
return 1;
}
if(!strcmp(cmdtext, \"/skatepark\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),1882.025146, -1405.136596, 13.570312);
} else {
SetPlayerPos(playerid,1882.025146, -1405.136596, 13.570312);
}
return 1;
}
if(!strcmp(cmdtext, \"/groove\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),2490.239257, -1668.436767, 13.343750);
} else {
SetPlayerPos(playerid,2490.239257, -1668.436767, 13.343750);
}
return 1;
}
if(!strcmp(cmdtext, \"/lv\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),2035.981689, 1343.455932, 10.820312);
} else {
SetPlayerPos(playerid,2035.981689, 1343.455932, 10.820312);
}
return 1;
}
if(!strcmp(cmdtext, \"/calligulas\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),2176.520263, 1677.109375, 10.820312);
} else {
SetPlayerPos(playerid,2176.520263, 1677.109375, 10.820312);
}
return 1;
}
if(!strcmp(cmdtext, \"/4dragons\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),2035.649780, 1008.054565, 10.820312);
} else {
SetPlayerPos(playerid,2035.649780, 1008.054565, 10.820312);
}
return 1;
}
if(!strcmp(cmdtext, \"/lvair\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),1689.108886, 1591.765869, 10.820312);
} else {
SetPlayerPos(playerid,1689.108886, 1591.765869, 10.820312);
}
return 1;
}
if(!strcmp(cmdtext, \"/chilliad\", true))
{
if(IsPlayerInAnyVehicle(playerid))
{
 SetVehiclePos(GetPlayerVehicleID(playerid),-2306.065429, -1659.437744, 483.672729);
} else {
SetPlayerPos(playerid,-2306.065429, -1659.437744, 483.672729);
}
return 1;
}

Nem elérhető skyLine

  • Globális moderátor
  • 2171
  • 2020
  • Vaterán
    • Profil megtekintése
ZCMD-bõl sima parancsokba
« Válasz #2 Dátum: 2012. február 19. - 15:46:48 »
0 Show voters
Nem vagyok Lu$ta, de ezt nem értem ???

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal