Jump to content

amaru

Membru
  • Posts

    153
  • Joined

  • Last visited

    Never

Everything posted by amaru

  1. Am facut o mapa si am pus obiectele in GM si nu le arata in joc. Am dat compile, tot si nu mi le citeste
  2. e exact cum ai scris tu D:\GAMES\Trafic\filterscripts\hunter.pwn(20) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Warning.
  3. Ma ajuta cineva? e primul script:)) D:\GAMES\Trafic\filterscripts\hunter.pwn(8) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit") D:\GAMES\Trafic\filterscripts\hunter.pwn(11) : error 017: undefined symbol "AddStaticVehicle" D:\GAMES\Trafic\filterscripts\hunter.pwn(20) : error 029: invalid expression, assumed zero D:\GAMES\Trafic\filterscripts\hunter.pwn(20) : error 017: undefined symbol "OnPlayerStateChange" D:\GAMES\Trafic\filterscripts\hunter.pwn(23) : error 017: undefined symbol "GetPlayerName" D:\GAMES\Trafic\filterscripts\hunter.pwn(23) : warning 202: number of arguments does not match definition D:\GAMES\Trafic\filterscripts\hunter.pwn(25) : error 017: undefined symbol "newstate" D:\GAMES\Trafic\filterscripts\hunter.pwn(27) : error 017: undefined symbol "GetPlayerVehicleID" D:\GAMES\Trafic\filterscripts\hunter.pwn(28) : warning 217: loose indentation D:\GAMES\Trafic\filterscripts\hunter.pwn(30) : error 017: undefined symbol "strcmp" D:\GAMES\Trafic\filterscripts\hunter.pwn(32) : error 017: undefined symbol "RemovePlayerFromVehicle" D:\GAMES\Trafic\filterscripts\hunter.pwn(33) : error 017: undefined symbol "SendClientMessage" D:\GAMES\Trafic\filterscripts\hunter.pwn(39) : error 030: compound statement not closed at the end of file (started at line 11) Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 10 Errors. new admincar; public OnGameModeInit() { admincar = AddStaticVehicle(424,1513.2959,-697.6833,94.5061,94.3205,66,66); // Vehicul public OnPlayerStateChange(playerid, newstate, oldstate) { new PlayerName[24]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if(newstate == PLAYER_STATE_DRIVER) { new Vehicle = GetPlayerVehicleID(playerid); if(Vehicle == admincar) { if(strcmp(PlayerName,"The_Hunter",true)) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, 0x33AA33AA, "Imi pare rau , Aceasta masina este a lui The_Hunter"); } } } return 1; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.