//Készítette:dominik65#include <a_samp>#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" God script készítette:dominik65\");print(\"--------------------------------------\\n\");return 1;public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/pajzs\", cmdtext, true, 10) == 0){SetPlayerArmour (playerid, 100);GivePlayerMoney (playerid, -5000);SendClientMessage(playerid, -1, \"Vettél egy pajzsot 5000$ ért.\");return 1;}if (strcmp(\"/god\", cmdtext, true, 10) == 0){SetPlayerArmour (playerid, 10000);SetPlayerHeal(playerid, 1000);GivePlayerMoney (playerid, -10000);SendClientMessage(playerid, -1, \"God-ot vettél magadnak 10000$ ért..\");return 1;}if (strcmp(\"/csomag-vesz\", cmdtext, true, 10) == 0){GivePlayerMoney(playerid, -10000);GivePlayerMoney(playerid, 250000);GivePlayerWeapon(playerid, 30, 2500);GivePlayerWeapon(playerid, 24, 1500);new Float:X, Float:Y, Float:Z, elegyGetPlayerPos(playerid, X, Y, Z);CreateVehicle(562, X, Y, Z, 0.0, -1, -1, -1);PutPlayerInVehicle(playerid, elegy, 0);SendClientMessage(playerid, 0x00BFFFAA, \"\");SendClientMessage(playerid, -1,\"Meg vetted a csomagot ezért le vonunk 10000$-t!return 1;}
Részletesebben írj róla és code tag-ben is tedd ki a scriptet.
GivePlayerMoney(playerid, -10000);GivePlayerMoney(playerid, 250000);
CMD:parancsod(playerid,params[]){//Ami a parancs bírása után végrehajtódikreturn 1;}
SetPlayerHeal(playerid, 1000);new Float:X, Float:Y, Float:Z, elegyGetPlayerPos(playerid, X, Y, Z);CreateVehicle(562, X, Y, Z, 0.0, -1, -1, -1);PutPlayerInVehicle(playerid, elegy, 0);
error 001: expected token: \"#endif\", but found \"-end of file-\"
#if defined FILTERSCRIPT
C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(13) : warning 217: loose indentationC:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(16) : error 017: undefined symbol \"SetPlayerHeal\"C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(28) : error 001: expected token: \";\", but found \"-identifier-\"C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(32) : error 037: invalid string (possibly non-terminated string)C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(32) : error 017: undefined symbol \"Meg\"C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(32) : error 017: undefined symbol \"vetted\"C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(32) : fatal error 107: too many error messages on one line