if (strcmp(\"/infernus\", cmdtext, true, 10) == 0) { new Float:X;new Float:Y;new Float:Z;new Float:ang;GetPlayerPos(playerid,X,Y,Z);GetPlayerFacingAngle(playerid,ang);CreateVehicle(411,X,Y,Z +1,ang,-1,-1,-1);SetPlayerPos(playerid,X,Y,Z +3);return 1;}
if ( !strcmp ( cmdtext, \"/infernus\", true ) ){ new Float:vPos [ 4 ]; GetPlayerPos ( playerid, vPos [ 0 ], vPos [ 1 ], vPos [ 2 ] ); GetPlayerFacingAngle ( playerid, vPos [ 3 ] ); new nrg = CreateVehicle ( 411, vPos [ 0 ], vPos [ 1 ], vPos [ 2 ], vPos [ 3 ], 6, 54, -1 ); PutPlayerInVehicle ( playerid, nrg, 0 ); return 1;}
if(strcmp(cmd, \"/infernus\", true) == 0) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GREEN, \"HASZNÁLAT: /infernus [color1] [color2]\"); new color1; color1 = strval(tmp); if(color1 < 0 || color1 > 126) { SendClientMessage(playerid, COLOR_GREY, \" Color Number can\'t be below 0 or above 126 !\"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GREEN, \"HASZNÁLAT: /infernus [color1] [color2]\"); new color2; color2 = strval(tmp); if(color2 < 0 || color2 > 126) { SendClientMessage(playerid, COLOR_GREY, \" Color Number can\'t be below 0 or above 126 !\"); return 1; } new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); new carid = CreateVehicle(411, X,Y,Z, 0.0, color1, color2, 60000); return 1; }