C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(19) : error 026: no matching "#if..." C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(28) : error 026: no matching "#if..." C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(91) : error 017: undefined symbol "COLOR" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(91) : error 017: undefined symbol "GREEN" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(91 -- 92) : warning 215: expression has no effect C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(92) : error 001: expected token: ";", but found "return" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(92) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
#include<a_samp> #define SKINMENU 1337 #define COLOR_GREY 0xAFAFAFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_BRIGHTRED 0xFF0000AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_PINK 0xFF66FFAA #define COLOR_BLUE 0x3A47DEFF #define COLOR_TAN 0xBDB76BAA #define COLOR_PURPLE 0x800080AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_ORANGE 0xFF9900AA #define COLOR_INDIGO 0x4B00B0AA #define COLOR_BLACK 0x00000000 #define COLOR_DARKGREY 0x696969FF #define GREEN 0xFFFFFFFF #define COLOUR 0xFFFFFFFF #else main() { print("\n----------------------------------"); print(" Banda Byesi"); print("----------------------------------\n"); } #endif public OnGameModeInit() { SetGameModeText("Banda"); 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) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { ShowPlayerDialog(playerid, SKINMENU, DIALOG_STYLE_LIST, "Skin Selection Menu", "Groove\nBallas\bAztecas\nTriads","Select","Cancel "); 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("/Help", cmdtext, true, 10) == 0) { SendClientMessage(playerid, COLOR GREEN, "Don't Forget To Wipe You Ass After Taking A Shit!") 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[]) { if(dialogid == SKINMENU && response) { switch(listitem) { case 0: { SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746); GivePlayerWeapon(player, 3, 1000 SetPlayerSkin(playerid, 105); } case 1: { SetPlayerPos(playerid1958.3783, 1343.1572, 15.3746); GivePlayerWeapon(playerid, 23, 1000); SetPlayerSkin(playerid, 102); } case 2: { SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746); GivePlayerWeapon(playerid,23, 1000); SetPlayerSkin(playerid, 114); } case 3: { SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746); GivePlayerWeapon(playerid, 23, 1000); SetPlayerSkin(playerid, 117); } } return 1; } return 0; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; } |
C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(87) : error 017: undefined symbol "COLOR" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(87) : error 017: undefined symbol "GREEN" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(87 -- 8 : warning 215: expression has no effect C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(8 : error 001: expected token: ";", but found "return" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(8 : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_GREEN, "Don't Forget To Wipe You Ass After Taking A Shit!");
return 1;
}
return 0;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR GREEN, "Don't Forget To Wipe You Ass After Taking A Shit!"
return 1;
}
return 0;
}
C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(227) : error 017: undefined symbol "player" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(232) : error 017: undefined symbol "playerid1958" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(232) : error 029: invalid expression, assumed zero C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(232) : warning 215: expression has no effect C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(232) : warning 215: expression has no effect C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(232) : warning 215: expression has no effect C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(232) : error 001: expected token: ";", but found ")" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(232) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
#include<a_samp>
#define SKINMENU 1337
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_BRIGHTRED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x3A47DEFF
#define COLOR_TAN 0xBDB76BAA
#define COLOR_PURPLE 0x800080AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_BLACK 0x00000000
#define COLOR_DARKGREY 0x696969FF
main()
{
print("\n----------------------------------");
print(" Banda By:Desi");
print("----------------------------------\n");
}
public OnGameModeInit()
{
SetGameModeText("Banda");
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)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
ShowPlayerDialog(playerid, SKINMENU, DIALOG_STYLE_LIST, "Skin Selection Menu", "Groove\nBallas\bAztecas\nTriads","Select","Cancel");
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("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_GREEN, "Don't Forget To Wipe You Ass After Taking A Shit!");
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[])
{
if(dialogid == SKINMENU && response)
{
switch(listitem)
{
case 0:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(player, 3, 1000);
SetPlayerSkin(playerid, 105);
}
case 1:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid, 23, 1000);
SetPlayerSkin(playerid, 102);
}
case 2:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid,23, 1000);
SetPlayerSkin(playerid, 114);
}
case 3:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid, 23, 1000);
SetPlayerSkin(playerid, 117);
}
}
return 1;
}
return 0;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(22 : error 017: undefined symbol "player" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
GivePlayerWeapon(playerid, 3, 1000);