if(strcmp(cmdtext, "/mycar", true)==0) { switch(GetPlayerRank(playerid)) { case 0: { SendClientMessage(playerid, 0xFFFFFFFF, "Sorry,no car for you"); } case 1: { //Create vehicle SendClientMessage(playerid, 0xFFFFFFFF, "Hope you'll enjoy your Perenniel"); //404 } case 2: { //.. SendClientMessage(playerid, 0xFFFFFFFF, "Hope you'll enjoy your Sentinel"); //405 } case 3: { SendClientMessage(playerid, 0xFFFFFFFF, "Hope you'll enjoy your Previon"); //436 } case 4: { SendClientMessage(playerid, 0xFFFFFFFF, "Hope you'll enjoy your Stallion"); //439 } case 5: { SendClientMessage(playerid, 0xFFFFFFFF, "Hope you'll enjoy your Saber"); //475 } case 6: { SendClientMessage(playerid, 0xFFFFFFFF, "Hope you'll enjoy your ZR-350"); //477 } case 7: { SendClientMessage(playerid, 0xFFFFFFFF, "Hope you'll enjoy your Hotknife"); //434 } case 8: { SendClientMessage(playerid, 0xFFFFFFFF, "Hope you'll enjoy your Turismo"); //451 } }
GetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
GetPlayerFacingAngle(playerid, Float:Angle);
CreateVehicle(411, X, Y, Z + 2.0, Angle + 90.0, -1, -1, 5000);
Originally Posted by hanzen
pawn Код:
|
new Float:X, Float:Y, Float:Z;
C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\mikefunc.inc(6) : warning 201: redefinition of constant/macro (symbol "MAX_INVALID_NOS_VEHICLES") C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\mikefunc.inc(1716) : error 021: symbol already defined: "IsPlayerInInvalidNosVehicle" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(79) : error 021: symbol already defined: "ValidEmail" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(132) : error 021: symbol already defined: "HexToInt" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(149) : error 021: symbol already defined: "IntToHex" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(172) : error 021: symbol already defined: "StrToInt" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(180) : error 021: symbol already defined: "IntToStr" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(210) : error 021: symbol already defined: "fcopy" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(254) : error 021: symbol already defined: "frename" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(268) : error 021: symbol already defined: "StripNewLine" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(355) : error 021: symbol already defined: "equal" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(366) : error 025: function heading differs from prototype C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(367) : error 021: symbol already defined: "strtok" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(448) : error 021: symbol already defined: "strlower" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\pawno\include\dutils.inc(464) : error 021: symbol already defined: "strupper" C:\Program Files\Rockstar Games\GTA San Andreas\samp02Xserver.win32\gamemodes\pen1_freedoom.pwn(429) : error 017: undefined symbol "GetXYInfrontOfPlayer"