- 0
Problema Linie 47
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Catalin321
#include <a_samp>
#if defined FILTERSCRIPT
//--------------[New]----------------
new Text:Fond[MAX_PLAYERS];
new Text:ButonInapoi[MAX_PLAYERS];
new Text:ButonUrmator[MAX_PLAYERS];
new Text:DealerMasina[MAX_PLAYERS];
new Text:DealerPret[MAX_PLAYERS];
new Text:ButonCumpara[MAX_PLAYERS];
new Text:ButonTesteaza[MAX_PLAYERS];
new Text:ButonAnuleaza[MAX_PLAYERS];
main()
{
print("n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------n");
}
#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerConnect(playerid)
{
Fond[playerid] = TextDrawCreate(641.500000, 168.099990, "usebox");
TextDrawLetterSize(Fond[playerid], 0.000000, 1.757408);
TextDrawTextSize(Fond[playerid], -2.000000, 0.000000);
TextDrawAlignment(Fond[playerid], 1);
TextDrawColor(Fond[playerid], 0);
TextDrawUseBox(Fond[playerid], true);
TextDrawBoxColor(Fond[playerid], 102);
TextDrawSetShadow(Fond[playerid], 0);
TextDrawSetOutline(Fond[playerid], 0);
TextDrawFont(Fond[playerid], 0);
ButonInapoi[playerid] = TextDrawCreate(4.000000, 168.000015, "<");
TextDrawLetterSize(ButonInapoi[playerid], 0.449999, 1.600000);
TextDrawAlignment(ButonInapoi[playerid], 1);
TextDrawColor(ButonInapoi[playerid], -1);
TextDrawSetShadow(ButonInapoi[playerid], 0);
TextDrawSetOutline(ButonInapoi[playerid], 1);
TextDrawBackgroundColor(ButonInapoi[playerid], 51);
TextDrawFont(ButonInapoi[playerid], 1);
TextDrawSetProportional(ButonInapoi[playerid], 1);
TextDrawSetSelectable(ButonInapoi[playerid], 1);
ButonUrmator[playerid] = TextDrawCreate(624.000000, 167.066680, ">");
TextDrawLetterSize(ButonUrmator[playerid], 0.449999, 1.600000);
TextDrawAlignment(ButonUrmator[playerid], 1);
TextDrawColor(ButonUrmator[playerid], -1);
TextDrawSetShadow(ButonUrmator[playerid], 0);
TextDrawSetOutline(ButonUrmator[playerid], 1);
TextDrawBackgroundColor(ButonUrmator[playerid], 51);
TextDrawFont(ButonUrmator[playerid], 1);
TextDrawSetProportional(ButonUrmator[playerid], 1);
TextDrawSetSelectable(ButonUrmator[playerid], 1);
DealerMasina[playerid] = TextDrawCreate(105.000000, 167.533370, "Masina: Turismo");
TextDrawLetterSize(DealerMasina[playerid], 0.449999, 1.600000);
TextDrawAlignment(DealerMasina[playerid], 1);
TextDrawColor(DealerMasina[playerid], -1);
TextDrawSetShadow(DealerMasina[playerid], 0);
TextDrawSetOutline(DealerMasina[playerid], 1);
TextDrawBackgroundColor(DealerMasina[playerid], 51);
TextDrawFont(DealerMasina[playerid], 1);
TextDrawSetProportional(DealerMasina[playerid], 1);
DealerPret[playerid] = TextDrawCreate(393.500000, 166.600036, "Pret: 25,000,000");
TextDrawLetterSize(DealerPret[playerid], 0.449999, 1.600000);
TextDrawAlignment(DealerPret[playerid], 1);
TextDrawColor(DealerPret[playerid], -1);
TextDrawSetShadow(DealerPret[playerid], 0);
TextDrawSetOutline(DealerPret[playerid], 1);
TextDrawBackgroundColor(DealerPret[playerid], 51);
TextDrawFont(DealerPret[playerid], 1);
TextDrawSetProportional(DealerPret[playerid], 1);
ButonCumpara[playerid] = TextDrawCreate(0.500000, 186.666732, "Cumpara");
TextDrawLetterSize(ButonCumpara[playerid], 0.449999, 1.600000);
TextDrawAlignment(ButonCumpara[playerid], 1);
TextDrawColor(ButonCumpara[playerid], -1);
TextDrawSetShadow(ButonCumpara[playerid], 0);
TextDrawSetOutline(ButonCumpara[playerid], 1);
TextDrawBackgroundColor(ButonCumpara[playerid], 51);
TextDrawFont(ButonCumpara[playerid], 1);
TextDrawSetProportional(ButonCumpara[playerid], 1);
TextDrawSetSelectable(ButonCumpara[playerid], 1);
ButonTesteaza[playerid] = TextDrawCreate(284.000000, 183.866775, "Testeaza");
TextDrawLetterSize(ButonTesteaza[playerid], 0.449999, 1.600000);
TextDrawAlignment(ButonTesteaza[playerid], 1);
TextDrawColor(ButonTesteaza[playerid], -1);
TextDrawSetShadow(ButonTesteaza[playerid], 0);
TextDrawSetOutline(ButonTesteaza[playerid], 1);
TextDrawBackgroundColor(ButonTesteaza[playerid], 51);
TextDrawFont(ButonTesteaza[playerid], 1);
TextDrawSetProportional(ButonTesteaza[playerid], 1);
TextDrawSetSelectable(ButonTesteaza[playerid], 1);
ButonAnuleaza[playerid] = TextDrawCreate(570.500000, 185.733367, "Anuleaza");
TextDrawLetterSize(ButonAnuleaza[playerid], 0.449999, 1.600000);
TextDrawAlignment(ButonAnuleaza[playerid], 1);
TextDrawColor(ButonAnuleaza[playerid], -1);
TextDrawSetShadow(ButonAnuleaza[playerid], 0);
TextDrawSetOutline(ButonAnuleaza[playerid], 1);
TextDrawBackgroundColor(ButonAnuleaza[playerid], 51);
TextDrawFont(ButonAnuleaza[playerid], 1);
TextDrawSetProportional(ButonAnuleaza[playerid], 1);
TextDrawSetSelectable(ButonAnuleaza[playerid], 1);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
TextDrawDestroy(Fond[playerid]);
TextDrawDestroy(ButonInapoi[playerid]);
TextDrawDestroy(ButonUrmator[playerid]);
TextDrawDestroy(DealerMasini[playerid]);
TextDrawDestroy(DealerPret[playerid]);
TextDrawDestroy(ButonCumpara[playerid]);
TextDrawDestroy(ButonTesteaza[playerid]);
TextDrawDestroy(ButonAnuleaza[playerid]);
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
EROAREA
Current directory: C:UsersAcasaDesktopLucruriGamesDiniscriptgamemodes
Dealeri.pwn(47) : error 017: undefined symbol "Fond"
Dealeri.pwn(47) : warning 215: expression has no effect
Dealeri.pwn(47) : error 001: expected token: ";", but found "]"
Dealeri.pwn(47) : error 029: invalid expression, assumed zero
Dealeri.pwn(47) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
================ READY ================
1 answer to this question
Recommended Posts