command(world_NonRP, playerid, params[])
{
{
SetPlayerVirtualWorld(playerid, playerid+2);
SendClientMessage(playerid, WHITE, "You have been moved to the Non-RP world!");
SendClientMessage(playerid, ADMINORANGE, "If you was just in the middle of RP, you're fucked!");
}
return 1;
}
command(world_RP, playerid, params[])
{
{
SetPlayerVirtualWorld(playerid, playerid+0);
SendClientMessage(playerid, WHITE, "You have been moved to the RP world!");
}
return 1;
}
main()
{
}
E:\Users\Ollie\Documents\GTABACKUP\GTA Mods\#LSL\Run\gamemodes\LosSantosLifeRoleplay.pwn(95) : error 001: expected token: ";", but found "-identifier-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
command(world_NonRP, playerid, params[])
{
SetPlayerVirtualWorld(playerid, playerid+2);
SendClientMessage(playerid, WHITE, "You have been moved to the Non-RP world!");
SendClientMessage(playerid, ADMINORANGE, "If you was just in the middle of RP, you're fucked!");
return 1;
}
command(world_RP, playerid, params[])
{
SetPlayerVirtualWorld(playerid, playerid+0);
SendClientMessage(playerid, WHITE, "You have been moved to the RP world!");
return 1;
}
|
pawn Код:
WRONG SECTION! |
E:\Users\Ollie\Documents\GTABACKUP\GTA Mods\#LSL\Run\gamemodes\LosSantosLifeRoleplay.pwn(95) : error 001: expected token: ";", but found "-identifier-" E:\Users\Ollie\Documents\GTABACKUP\GTA Mods\#LSL\Run\gamemodes\LosSantosLifeRoleplay.pwn(29394) : warning 217: loose indentation E:\Users\Ollie\Documents\GTABACKUP\GTA Mods\#LSL\Run\gamemodes\LosSantosLifeRoleplay.pwn(29403) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
command(world_NonRP, playerid, params[])
{
SetPlayerVirtualWorld(playerid, 2);
SendClientMessage(playerid, WHITE, "You have been moved to the Non-RP world!");
SendClientMessage(playerid, ADMINORANGE, "If you was just in the middle of RP, you're fucked!");
}
command(world_RP, playerid, params[])
{
SetPlayerVirtualWorld(playerid, 0);
SendClientMessage(playerid, WHITE, "You have been moved to the RP world!");
}
CMD:world_NonRP(playerid, params[])
{
SetPlayerVirtualWorld(playerid, 2);
SendClientMessage(playerid, WHITE, "You have been moved to the Non-RP world!");
SendClientMessage(playerid, ADMINORANGE, "If you was just in the middle of RP, you're fucked!");
}
CMD:world_RP(playerid, params[])
{
SetPlayerVirtualWorld(playerid, 0);
SendClientMessage(playerid, WHITE, "You have been moved to the RP world!");
}
You put same post like my, they maybe looks different but they both are on zcmd.
#undef MAX_PLAYERS
#define CITY_HALL_OBJECTS 30
#define MAX_GROUPS 20
#define MAX_HOUSES 1000
#define MAX_BUSINESSES 950
#define MAX_JOBS 10
#define MAX_PLAYERS 96
#define MAX_SPIKES 5
#define MAX_SPEED_HACK_WARNINGS 4
#define MAX_STUDIO_OBJECTS 37
#define MAX_WEAPON_HACK_WARNINGS 2
#define STONED_TIME 61
#define CAR_MOD_DELAY_TIME 61
#define LAWYER_RELOAD_TIME 241
#define DETECTIVE_COOLDOWN_TIME 31
#define MATRUN_INABILITY_TIME 61
#define VERSION "LSL 0.5 [Volt-Host]"
#define FISH_INABILITY_TIME 901
#define VEHICLES_FILE "Vehicles.json"
main()
{
}