Szerző Téma: /car rendszer  (Megtekintve 2713 alkalommal)

Nem elérhető Mokus

  • 608
    • Profil megtekintése
/car rendszer
« Dátum: 2012. november 13. - 15:09:45 »
0 Show voters
Sziasztok unalmamba elkészítettem az elsõ /car scriptem mostanába csak dialogosat találni és gondoltam írok eggyet hogy ne legyen elfelejtve a régi módszer egy egyszerü kis script semmi egyediséggel kritikáitokat elõre is köszönöm.
Bármi hibát észleltek comi
 

#include <a_samp>
#include <zcmd>
#include <colors>
CMD:car(playerid, params[])
{
if(!strcmp(params, \"landstalker\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(400, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bravura\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(401, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"buffalo\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(402, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"linerunner\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(403, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"perenniel\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(404, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sentinel\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(405, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"dumper\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(406, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"firetruck\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(407, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"trashmaster\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(408, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"stretch\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(409, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"manana\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(410, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"infernus\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(411, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"voodoo\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(412, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"pony\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(413, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"mule\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(414, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"ceetah\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(415, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"ambulance\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(416, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"leviathan\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(417, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"moonbeam\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(418, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"esperanto\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(419, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"taxi\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(420, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"washington\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(421, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bobcat\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(422, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"mr whoopee\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(423, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"BF injection\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(424, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hunter\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(425, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"premier\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(426, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"enforcer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(427, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"securiticar\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(428, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"banshee\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(429, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"predator\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(430, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bus\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(431, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"rhino\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(432, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"barracks\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(433, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hotknife\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(434, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"article trailer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(435, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"previon\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(436, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"coach\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(437, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"cabbie\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(438, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"stallion\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(439, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"rumpo\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(440, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"RC bandit\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(441, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"romero\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(442, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"packer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(443, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"monster\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(444, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"admiral\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(445, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"squallo\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(446, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"seasparrow\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(447, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"pizzaboy\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(448, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tram\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(449, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"article trailer 2\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(450, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"turismo\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(451, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"speeder\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(452, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"reefer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(453, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tropic\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(454, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"flatbed\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(455, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"yankee\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(456, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"caddy\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(457, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"solair\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(458, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"topfunvan\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(459, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"skimmer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(460, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"pcj-600\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(461, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"faggio\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(462, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"freeway\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(463, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"rc baron\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(464, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"rc-raider\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(465, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"glendale\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(466, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"oceanic\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(467, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sanchez\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(468, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sparrow\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(469, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"patriot\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(470, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"quad\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(471, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"coastquard\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(472, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"dinghy\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(473, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hermes\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(474, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sabre\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(475, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"rusler\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(476, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"zr-350\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(477, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"walton\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(478, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"regina\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(479, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"comet\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(480, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bmx\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(481, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"burrito\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(482, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"camper\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(483, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"marquis\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(484, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"baggage\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(485, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"dozer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(486, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"maverick\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(488, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"san news maverick\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(489, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"fbi truck\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(490, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"virgo\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(491, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"grenwood\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(492, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"jetmax\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(493, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hotring racer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(494, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sandking\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(495, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"blista compact\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(496, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"police maverick\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(497, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"boxville\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(498, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"benson\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(499, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"mesa\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(500, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"rc goblin\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(501, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hotring racer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(502, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hotring racer2\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(503, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bloodring banger\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(504, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"rancher\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(505, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"super gt\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(506, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"elegant\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(507, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"journey\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(508, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bike\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(509, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"mountain bike\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(510, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"beagle\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(511, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"cropdusper\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(512, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"stuntplane\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(513, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tanker\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(514, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"roadtrain\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(515, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"nebula\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(516, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"majestic\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(517, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"buccaneer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(518, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"shamal\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(519, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hydra\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(520, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"fcr-900\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(521, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"nrg 500\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(522, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hpv1000\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(523, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"cement truck\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(524, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"towtruck\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(525, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"fortune\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(526, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"cadrona\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(527, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"fbi truck\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(528, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"willard\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(529, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"forklift\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(530, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tractor\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(531, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"combine harvester\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(532, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"feltzer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(533, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"remington\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(534, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"slamvan\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(535, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"blade\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(536, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"freight\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(537, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"brownstreak\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(538, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"vortex\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(539, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"vincent\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(540, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bullet\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(541, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"clover\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(542, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sadler\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(543, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"firetruck LA\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(544, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hustler\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(545, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"intruder\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(546, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"primo\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(547, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"cargobob\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(548, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tampa\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(549, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sunrise\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(450, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"merit\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(551, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"utily van\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(552, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"nevada\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(553, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"yosemite\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(554, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"windsor\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(555, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"monster A\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(556, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"monster B\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(557, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"uranus\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(558, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"jester\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(559, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sultan\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(560, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"startum\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(561, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"elegy\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(562, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"raindance\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(563, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"RC tiger\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(564, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"flash\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(565, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tahoma\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(566, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"savanna\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(567, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bandito\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(568, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"freight flat trailer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(569, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"streak trailer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(570, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"kart\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(571, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"mower\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(572, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"dune\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(573, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"sweeper\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(574, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"broadway\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(575, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tornado\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(576, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"AT 400\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(577, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"dft 30\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(578, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"huntley\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(579, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"stafford\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(580, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"bf 400\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(581, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"newsvan\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(582, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tug\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(583, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"petrol trailer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(584, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"emperor\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(585, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"wayfarer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(586, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"euros\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(587, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"hotdog\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(588, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"club\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(589, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"freight box trailer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(590, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"article tailer3\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(591, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"andromanda\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(592, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"dodo\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(593, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"rc cam\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(594, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"launch\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(595, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"police car lspd\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(596, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"police car sfpd\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(597, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"police car lvpd\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(598, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"police ranger\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(599, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"picador\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(600, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"SWAT\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(601, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"alpha\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(602, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"phoenix\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(603, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"baggage trailer A\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(606, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"baggage trailer B\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(607, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"tug stairs tailer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(608, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"boxville\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(609, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"farm trailer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(610, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else if(!strcmp(params, \"unity trailer\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(611, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}
else SendClientMessage(playerid,COLOR_RED, \"Használata: /car kocsinév\");
return 1;
}
« Utoljára szerkesztve: 2012. november 13. - 15:39:37 írta Mokus »

/car rendszer
« Válasz #1 Dátum: 2012. november 13. - 15:34:31 »
0 Show voters
else if(!strcmp(params, \"BF injectuon\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(424, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}

 
Nem jól írtad a Bf Injection-t
Helyes:
 
else if(!strcmp(params, \"BF injection\", true))
{
static Float: pX, Float: pY, Float: pZ;
GetPlayerPos( playerid, pX, pY, pZ );
CreateVehicle(424, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
}

Nem elérhető Mokus

  • 608
    • Profil megtekintése
/car rendszer
« Válasz #2 Dátum: 2012. november 13. - 15:38:49 »
0 Show voters
Hát esett egy kis baki javítom

Nem elérhető Pedró

  • 3341
  • 2014 © Az év Szkriptere
    • Profil megtekintése
/car rendszer
« Válasz #3 Dátum: 2012. november 13. - 15:43:05 »
0 Show voters
Sorok végett megéri az új változatot használni..
Sor takarékosság lehetne még: GetPlayerPos-t használni az if - else if ág-ak elõtt.. + a változók létrehozását is.

Dupla hozzászólás automatikusan összefûzve. ( 2012. november 13. - 15:54:25 )

#include <a_samp>
#include <zcmd>
CMD:car(playerid, params[]) {
    static Float: pX, Float: pY, Float: pZ, modelid;
    GetPlayerPos( playerid, pX, pY, pZ );
    if(!strcmp(params, \"landstalker\", true)) modelid = 400;
    else if(!strcmp(params, \"bravura\", true)) modelid = 401;
    // else if .. etc..
    else SendClientMessage(playerid,COLOR_RED, \"Használata: /car kocsinév\");
    CreateVehicle(modelid, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
    SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
    return 1;
}

 
egy \"kicsit\" rövidebb megoldás lenne..
« Utoljára szerkesztve: 2012. november 13. - 15:54:25 írta Pedró »

Nem elérhető Mokus

  • 608
    • Profil megtekintése
/car rendszer
« Válasz #4 Dátum: 2012. november 13. - 17:48:12 »
0 Show voters
Idézetet írta: Pedró date=1352817785\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"29799\" data-ipsquote-contentclass=\"forums_Topic
Sorok végett megéri az új változatot használni..
Sor takarékosság lehetne még: GetPlayerPos-t használni az if - else if ág-ak elõtt.. + a változók létrehozását is.

Dupla hozzászólás automatikusan összefûzve. ( 2012. november 13. - 15:54:25 )

#include <a_samp>
#include <zcmd>
CMD:car(playerid, params[]) {
    static Float: pX, Float: pY, Float: pZ, modelid;
    GetPlayerPos( playerid, pX, pY, pZ );
    if(!strcmp(params, \"landstalker\", true)) modelid = 400;
    else if(!strcmp(params, \"bravura\", true)) modelid = 401;
    // else if .. etc..
    else SendClientMessage(playerid,COLOR_RED, \"Használata: /car kocsinév\");
    CreateVehicle(modelid, pX + 0.0, pY + 0.0, pZ, 0.0, -1, -1, -1 );
    SendClientMessage(playerid,COLOR_RED,\"Jármû le kreálva\");
    return 1;
}

 
egy \"kicsit\" rövidebb megoldás lenne..
 
Igazad van :) majd ha fejlesztem akkor át rakom úgy és azt rakom fel :)

/car rendszer
« Válasz #5 Dátum: 2012. november 14. - 06:36:03 »
+2 Show voters
Jó amit csináltál csak fölösleges munka..
Én így oldanám meg:
 
new VehicleNames[ 212 ][ ] = {
        {\"Landstalker\"},{\"Bravura\"},{\"Buffalo\"},{\"Linerunner\"},{\"Perennial\"},{\"Sentinel\"},{\"Dumper\"}, {\"Firetruck\"},{\"Trashmaster\"},{\"Stretch\"},{\"Manana\"},{\"Infernus\"},{\"Voodoo\"},{\"Pony\"},{\"Mule\"}, {\"Cheetah\"},{\"Ambulance\"},{\"Leviathan\"},{\"Moonbeam\"},{\"Esperanto\"},{\"Taxi\"},{\"Washington\"}, {\"Bobcat\"},{\"Mr Whoopee\"},{\"BF Injection\"},{\"Hunter\"},{\"Premier\"},{\"Enforcer\"},{\"Securicar\"},
        {\"Banshee\"},{\"Predator\"},{\"Bus\"},{\"Rhino\"},{\"Barracks\"},{\"Hotknife\"},{\"Trailer 1\"},{\"Previon\"}, {\"Coach\"},{\"Cabbie\"},{\"Stallion\"},{\"Rumpo\"},{\"RC Bandit\"},{\"Romero\"},{\"Packer\"},{\"Monster\"}, {\"Admiral\"},{\"Squalo\"},{\"Seasparrow\"},{\"Pizzaboy\"},{\"Tram\"},{\"Trailer 2\"},{\"Turismo\"}, {\"Speeder\"},{\"Reefer\"},{\"Tropic\"},{\"Flatbed\"},{\"Yankee\"},{\"Caddy\"},{\"Solair\"},{\"Berkley\'s RC Van\"},
        {\"Skimmer\"},{\"PCJ-600\"},{\"Faggio\"},{\"Freeway\"},{\"RC Baron\"},{\"RC Raider\"},{\"Glendale\"},{\"Oceanic\"}, {\"Sanchez\"},{\"Sparrow\"},{\"Patriot\"},{\"Quad\"},{\"Coastguard\"},{\"Dinghy\"},{\"Hermes\"},{\"Sabre\"}, {\"Rustler\"},{\"ZR-350\"},{\"Walton\"},{\"Regina\"},{\"Comet\"},{\"BMX\"},{\"Burrito\"},{\"Camper\"},{\"Marquis\"}, {\"Baggage\"},{\"Dozer\"},{\"Maverick\"},{\"News Chopper\"},{\"Rancher\"},{\"FBI Rancher\"},{\"Virgo\"},{\"Greenwood\"},
        {\"Jetmax\"},{\"Hotring\"},{\"Sandking\"},{\"Blista Compact\"},{\"Police Maverick\"},{\"Boxville\"},{\"Benson\"}, {\"Mesa\"},{\"RC Goblin\"},{\"Hotring Racer A\"},{\"Hotring Racer B\"},{\"Bloodring Banger\"},{\"Rancher\"}, {\"Super GT\"},{\"Elegant\"},{\"Journey\"},{\"Bike\"},{\"Mountain Bike\"},{\"Beagle\"},{\"Cropdust\"},{\"Stunt\"},
        {\"Tanker\"}, {\"Roadtrain\"},{\"Nebula\"},{\"Majestic\"},{\"Buccaneer\"},{\"Shamal\"},{\"Hydra\"},{\"FCR-900\"}, {\"NRG-500\"},{\"HPV1000\"},{\"Cement Truck\"},{\"Tow Truck\"},{\"Fortune\"},{\"Cadrona\"},{\"FBI Truck\"}, {\"Willard\"},{\"Forklift\"},{\"Tractor\"},{\"Combine\"},{\"Feltzer\"},{\"Remington\"},{\"Slamvan\"},
        {\"Blade\"},{\"Freight\"},{\"Streak\"},{\"Vortex\"},{\"Vincent\"},{\"Bullet\"},{\"Clover\"},{\"Sadler\"}, {\"Firetruck LA\"},{\"Hustler\"},{\"Intruder\"},{\"Primo\"},{\"Cargobob\"},{\"Tampa\"},{\"Sunrise\"},{\"Merit\"}, {\"Utility\"},{\"Nevada\"},{\"Yosemite\"},{\"Windsor\"},{\"Monster A\"},{\"Monster B\"},{\"Uranus\"},{\"Jester\"},
        {\"Sultan\"},{\"Stratum\"},{\"Elegy\"},{\"Raindance\"},{\"RC Tiger\"},{\"Flash\"},{\"Tahoma\"},{\"Savanna\"}, {\"Bandito\"},{\"Freight Flat\"},{\"Streak Carriage\"},{\"Kart\"},{\"Mower\"},{\"Duneride\"},{\"Sweeper\"}, {\"Broadway\"},{\"Tornado\"},{\"AT-400\"},{\"DFT-30\"},{\"Huntley\"},{\"Stafford\"},{\"BF-400\"},{\"Newsvan\"}, {\"Tug\"},{\"Trailer 3\"},{\"Emperor\"},{\"Wayfarer\"},{\"Euros\"},{\"Hotdog\"},{\"Club\"},{\"Freight Carriage\"},
        {\"Trailer 3\"},{\"Andromada\"},{\"Dodo\"},{\"RC Cam\"},{\"Launch\"},{\"Police Car (LSPD)\"},{\"Police Car (SFPD)\"}, {\"Police Car (LVPD)\"},{\"Police Ranger\"},{\"Picador\"},{\"S.W.A.T. Van\"},{\"Alpha\"},{\"Phoenix\"},{\"Glendale\"}, {\"Sadler\"},{\"Luggage Trailer A\"},{\"Luggage Trailer B\"},{\"Stair Trailer\"},{\"Boxville\"},{\"Farm Plow\"}, {\"Utility Trailer\"}
};
#include <a_samp>
#include <zcmd>
CMD:car(playerid, params[]) {
    static Float: Pos[ 3 ], modelid;
    GetPlayerPos( playerid, Pos[0], Pos[1], Pos[2] );
for( new i; i < 212; i ++ )
{
    if( strcmp(params, VehicleNames) == 0 )
    {
        modelid = i + 400;
        break;
    }
}
    if( !modelid ) SendClientMessage(playerid,COLOR_RED, \"Használata: /car kocsinév\");
   
    CreateVehicle(modelid, Pos[0], Pos[1], Pos[2], 0.0, -1, -1, -1 );
    SendClientMessage(playerid,COLOR_RED,\"Jármu le kreálva\");
   
    return 1;
}
« Utoljára szerkesztve: 2012. november 14. - 06:38:12 írta Fl0rian »

Nem elérhető Mokus

  • 608
    • Profil megtekintése
/car rendszer
« Válasz #6 Dátum: 2012. november 14. - 07:19:54 »
0 Show voters
:) nem baj azért köszi

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal