gabbii
-
Posts
150 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by gabbii
-
-
Nu am in gm public [pawn]OnGameModeExit()[/pawn] ce fac?
-
Nu mai am masini personale am scos sitemul ca era buguit.....
-
Asta nu ii problema de timp GF/RP )
Sterge functia: MAX_PLAYER_ATTACHED_OBJECTS - O ai definita de 2 ori pe undeva...
Merci a mers:X
-
Am masinile de la factiuni, rent, etc.. In total sunt 223 am modificat [pawn]new CarInfo[224][cInfo];[/pawn] merge tot bine fara erori masinile apar cand sunt in joc.
Cand pornesc serverul zice ca sunt 64 de masini, dece?
-
Cum pot rezolva erorile astea?
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(136) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYER_ATTACHED_OBJECTS") C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4284) : error 004: function "SendIRCMessage" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4306) : error 004: function "SendIRCMessage" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4615) : error 004: function "OOCOff" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4627) : error 004: function "OOCOff" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4647) : error 004: function "OOCOff" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4655) : error 004: function "OOCOff" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4889) : error 004: function "BroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5215) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5228) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5241) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5254) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5267) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5280) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5292) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5304) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5366) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5389) : error 004: function "SendFamilyMessage" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5745) : error 004: function "PlayerFixRadio" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(9458) : error 004: function "ABroadCast" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(10048) : error 004: function "OOCOff" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(10059) : error 004: function "OOCOff" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(10126) : error 004: function "OOCOff" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(10137) : error 004: function "OOCOff" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(13060) : error 004: function "PlayerPlayMusic" is not implemented C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(14325) : error 029: invalid expression, assumed zero C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(14325) : error 004: function "Hide" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
EDIT:
136: [pawn]#define MAX_PLAYER_ATTACHED_OBJECTS 6[/pawn]
4284: [pawn]SendIRCMessage(PlayersChannel[playerid], COLOR_GREEN, string);[/pawn]
4306: [pawn]SendIRCMessage(number, COLOR_GREEN, string);[/pawn]
4615: [pawn]OOCOff(COLOR_WHITE, string);[/pawn]
4627: [pawn]OOCOff(COLOR_DBLUE, string);[/pawn]
4647: [pawn]OOCOff(COLOR_WHITE, string);[/pawn]
4655: [pawn]OOCOff(COLOR_DBLUE, string);[/pawn]
4889:[pawn] BroadCast(COLOR_WHITE,string);[/pawn]
5215:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]
5228:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]
5241:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]
5254:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]
5267:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]
5280:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]
5292:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]
5304:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]
5366:[pawn] ABroadCast(COLOR_LIGHTRED, string, 1);[/pawn]
5389:[pawn] SendFamilyMessage(8, COLOR_YELLOW, string);[/pawn]
-
cum pot rezolva Warning asta cand era versiunea 0.3c nu imi aparea!
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\Copy (2) of czgammer.pwn(136) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYER_ATTACHED_OBJECTS") Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 10820 bytes Code size: 1949712 bytes Data size: 6926236 bytes Stack/heap size: 16384 bytes; estimated max. usage=5184 cells (20736 bytes) Total requirements: 8903152 bytes 1 Warning.
Postez aici pentru ca nu gasesc topicul "probleme Godfather"....
-
Cum pot rezolva erorile astea?
[pawn]C:\Users\Asus\Desktop\samp03dsvr_win321\gamemodes\SAMP.pwn(567) : error 029: invalid expression, assumed zero
C:\Users\Asus\Desktop\samp03dsvr_win321\gamemodes\SAMP.pwn(567) : error 029: invalid expression, assumed zero
C:\Users\Asus\Desktop\samp03dsvr_win321\gamemodes\SAMP.pwn(591) : error 029: invalid expression, assumed zero
C:\Users\Asus\Desktop\samp03dsvr_win321\gamemodes\SAMP.pwn(609) : warning 225: unreachable code
C:\Users\Asus\Desktop\samp03dsvr_win321\gamemodes\SAMP.pwn(658) : error 029: invalid expression, assumed zero
C:\Users\Asus\Desktop\samp03dsvr_win321\gamemodes\SAMP.pwn(658) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.[/pawn]
567: if ( mysql_retrieve_row ( ) )
591: else
609: mysql_free_result ( ) ;
658: if ( mysql_retrieve_row ( ) )
Nu este mod god father!
-
probleme gf!!!
-
Probleme GF!
Da hai sa te ajut..
baga asa
[pawn] if(PlayerInfo[playerid][pSala] < 1);[/pawn]
-
Cum pot face ca toate masinile dp sv sa nu mai explodeze atunci cand sunt foarte avariate si sa se opreasca motorul?
Scz pt dublu topic, dar nu stiu de unde sa incep. Ma puteti ajuta?
-
Cum pot face ca toate masinile dp sv sa nu mai explodeze atunci cand sunt foarte avariate si sa se opreasca motorul?
Nu vreau totul mura in gura!
-
Cum pot face cand te inregistrezi sa imi apara intr-un dialog "Introduceti adresa de mail", si sa se salveze in users/s.ini ?
-
De la ce pot fi erorile astea?
J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(2962) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(2991) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(3027) : error 004: function "SafeResetPlayerWeapons" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(3028) : error 004: function "SafeGivePlayerWeapon" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(3055) : error 004: function "SafeResetPlayerWeapons" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(4005) : error 004: function "ResetPlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(4056) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(4628) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(4926) : error 004: function "SafeResetPlayerWeapons" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(4927) : error 004: function "SafeGivePlayerWeapon" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5049) : error 004: function "SafeGivePlayerWeapon" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5384) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5402) : error 004: function "GetPlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5452) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5483) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5484) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5530) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5531) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5582) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5583) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5589) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5590) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5884) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5892) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5900) : error 004: function "GivePlayerCash" is not implemented J:\samp03csvr_R2-2_win3\gamemodes\czgammer.pwn(5908) : error 004: function "GivePlayerCash" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
-
nu ai voie sa ceri scripturi.
PS: cauta pe google si vei gasi ;)
-
scz pt dublu post da ma puteti ajuta cu treaba asta?
-
io vreau sa fac cand un player are viata mai mica de jumate sa se execute un anim si sa scada viteza de mers
-
incearca [pawn]#define Audio_StopRadio 100[/pawn]
-
Cum pot face cand un player cu viata mai mica de jumate sa se miste imagine ca si cum ai fi drogat si sa mearga incet?
Nu vrreau totul mura in gura:D !
-
am si eu aceias problema pe host, linux iti buguieste fisierul .ini daca il editezi, ca sa nu mai ai problema asta intra pe host cu un program de incarcat/descarcat ftp(program recomandat este este cel creat de windows. Daca vrei sa il folosesti dami pm si osa te ajut...) si descarca fisierul .ini in pc editeazal si dupaia incarcal inapoi pe host si osa mearga.
-
sv-ul e host?
-
Am facut comanda /engine merge tot la ea da acum am 2 probleme:
1. cand dau /engine in masina motorul porneste da imi apare in chat "SERVER: Unknown Command"
2. cand nu sunt in masina pot sa dau /engine si motorul porneste si se opreste...
Uitati comanda
[pawn] if(strcmp(cmd, "/engine",true) == 0)
{
new vid = GetPlayerVehicleID(playerid);
if(EngineSTATE[vid] == 0)
{
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
EngineSTATE[vid] = 1;
GameTextForPlayer(playerid, "~g~Engine Started",500,3);
}
else
{
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
EngineSTATE[vid] = 0;
GameTextForPlayer(playerid, "~r~Engine Stopped",500,3);
}
}[/pawn]
Ce pot face?
-
Io prima data aveam
/engine
[pawn] }
if(strcmp(cmd, "/engine",true) == 0) {
new vid = GetPlayerVehicleID(playerid);
if(vid != INVALID_VEHICLE_ID) {
if(IsABBike(vid)) return SendClientMessage(playerid, COLOR_GRAD2, "This bike doesen't have engine!");
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
// ||||||
SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
//VEHICLE_PARAMS_ON is used to start the engine,it purely replace the engine thing!
}
return 1;
}[/pawn]
si /stopengine
[pawn] if(strcmp(cmd, "/stopengine",true) == 0) {
new vid = GetPlayerVehicleID(playerid);
if(vid != INVALID_VEHICLE_ID) {
if(IsABBike(vid)) return SendClientMessage(playerid, COLOR_GRAD2, "This bike doesen't have engine!");
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
// ||||||
SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
//Here the VEHICLE_PARAMS_OFF will turn off your engine.
}
return 1;
}[/pawn] si am vrut sa fac sa pornesc motorul cu/engine si sa il opresc tot cu /engine da nu am reusit....
-
tot nu merge imi da erorile astea
D:\samp03csvr_R2-2_win3\gamemodes\Copy (2) of czgammer.pwn(15047) : warning 219: local variable "engine" shadows a variable at a preceding level D:\samp03csvr_R2-2_win3\gamemodes\Copy (2) of czgammer.pwn(15047) : warning 219: local variable "lights" shadows a variable at a preceding level D:\samp03csvr_R2-2_win3\gamemodes\Copy (2) of czgammer.pwn(15047) : warning 219: local variable "alarm" shadows a variable at a preceding level D:\samp03csvr_R2-2_win3\gamemodes\Copy (2) of czgammer.pwn(15047) : warning 219: local variable "doors" shadows a variable at a preceding level D:\samp03csvr_R2-2_win3\gamemodes\Copy (2) of czgammer.pwn(15047) : warning 219: local variable "bonnet" shadows a variable at a preceding level D:\samp03csvr_R2-2_win3\gamemodes\Copy (2) of czgammer.pwn(15047) : warning 219: local variable "boot" shadows a variable at a preceding level D:\samp03csvr_R2-2_win3\gamemodes\Copy (2) of czgammer.pwn(15047) : warning 219: local variable "objective" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 10820 bytes Code size: 1953372 bytes Data size: 6935580 bytes Stack/heap size: 16384 bytes; estimated max. usage=5184 cells (20736 bytes) Total requirements: 8916156 bytes 7 Warnings.
-
Salut, am creat un sistem de /enter si /exit la pd, cityhall si magazine. Problema e ca imi strica sistemu la bizuri si la factiuni de /enter si /exit...
[pawn]//-----------------------------------------enter beta----------------------------------
if(strcmp(cmd, "/ente", true) == 0)
{
//Enter police departament
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1554.9537,-1675.6584,16.1953))
{
GameTextForPlayer(playerid, "~w~Police Department", 5000, 1);
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,246.7079,66.2239,1003.6406);
PlayerInfo[playerid][pInt] = 6;
}
//Misty/10 Green Toilets
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 488.2531,-82.7632,998.7578))
{
GameTextForPlayer(playerid, "~w~Restroom",5000,1);
SetPlayerInterior(playerid,11);
SetPlayerPos(playerid, 2277.5942,-1139.8883,1050.8984);
PlayerInfo[playerid][pInt] = 11;
}
//Misty/10 Green Toilets
else if(IsPlayerInRangeOfPoint(playerid, 8.0, 2280.0476,-1139.5413,1050.8984))
{
GameTextForPlayer(playerid, "~w~Restroom",5000,1);
SetPlayerInterior(playerid,11);
SetPlayerPos(playerid, 490.9059,-81.4256,998.7578);
PlayerInfo[playerid][pInt] = 11;
}
//24/7 near PD Entrance
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1352.1194,-1759.2534,13.5078))
{
GameTextForPlayer(playerid, "~w~24/7",5000,1);
SetPlayerInterior(playerid,6);
SetPlayerPos(playerid, -26.6916,-55.7149,1003.5469);
PlayerInfo[playerid][pInt] = 6;
}
//24/7 near 8-ball entrance
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1833.6124,-1842.4968,13.5781))
{
GameTextForPlayer(playerid, "~w~24/7",5000,1);
SetPlayerInterior(playerid,18);
SetPlayerPos(playerid, -30.9467,-89.6096,1003.5469);
PlayerInfo[playerid][pInt] = 18;
}
//24/7 vinewood
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1315.4581,-897.6843,39.5781))
{
SetPlayerVirtualWorld(playerid, 2);
PlayerInfo[playerid][pVirWorld] = 2;
GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
SetPlayerInterior(playerid, 18);
SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469);
PlayerInfo[playerid][pInt] = 18;
}
//24/7 near 8-ball entrance
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1836.4064,-1682.4403,13.3493))
{
GameTextForPlayer(playerid, "~w~Alhambra", 5000, 1);
SetPlayerInterior(playerid, 17);
SetPlayerPos(playerid,493.3891,-22.7212,1000.6797);
PlayerInfo[playerid][pInt] = 17;
}
//10 green
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2310.0183,-1643.4669,14.8270))
{
GameTextForPlayer(playerid, "~w~Ten Green Bottles", 5000, 1);
SetPlayerInterior(playerid, 11);
SetPlayerPos(playerid,502.0531,-70.2137,998.7578);
PlayerInfo[playerid][pInt] = 11;
}
//Binco next to 10 green
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2244.3423,-1665.5542,15.4766))
{
GameTextForPlayer(playerid, "~w~Binco", 5000, 1);
SetPlayerInterior(playerid, 15);
SendClientMessage(playerid, COLOR_WHITE, "HINT: Type /clothes to change your outfit");
SetPlayerPos(playerid,207.7336,-108.6231,1005.1328);
PlayerInfo[playerid][pInt] = 15;
}
//Ganton Gym
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2229.9011,-1721.2582,13.5613))
{
GameTextForPlayer(playerid, "~w~Gym", 5000, 1);
SetPlayerInterior(playerid, 5);
SetPlayerPos(playerid,771.9399,-2.2574,1000.7292);
PlayerInfo[playerid][pInt] = 5;
}
//Ganton Gym
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2419.9941,-1509.5865,24.0000))
{
OnPlayerEnterFood(playerid, 1);
}
//Cluckin Bell near 10 green
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2398.6240,-1899.2014,13.5469))
{
SetPlayerVirtualWorld(playerid, 2);
PlayerInfo[playerid][pVirWorld] = 2;
OnPlayerEnterFood(playerid, 1);
}
//Marina Burger shot
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2398.6240,-1899.2014,13.5469))
{
OnPlayerEnterFood(playerid, 2);
}
//Marina Cluckin bell
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 928.9110,-1352.9958,13.3438))
{
SetPlayerVirtualWorld(playerid, 1);
PlayerInfo[playerid][pVirWorld] = 1;
OnPlayerEnterFood(playerid, 1);
}
//Vinewood Burger shot
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1199.2477,-918.1447,43.1233))
{
SetPlayerVirtualWorld(playerid, 1);
PlayerInfo[playerid][pVirWorld] = 1;
OnPlayerEnterFood(playerid, 2);
}
//24/7 gas station
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1000.5861,-919.8832,42.3281))
{
GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
SetPlayerInterior(playerid, 4);
SetPlayerPos(playerid,-28.2619,-26.2015,1003.5573);
PlayerInfo[playerid][pInt] = 4;
}
//Pizzaboy
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2105.4858,-1806.4725,13.5547))
{
OnPlayerEnterFood(playerid, 3);
}
//Pizzaboy
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 203.5140,-202.2578,1.5781))
{
SetPlayerVirtualWorld(playerid, 2);
PlayerInfo[playerid][pVirWorld] = 2;
OnPlayerEnterFood(playerid, 3);
}
//Pizzaboy
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2105.4858,-1806.4725,13.5547))
{
OnPlayerEnterFood(playerid, 3);
}
//24-7
else if(IsPlayerInRangeOfPoint(playerid, 7.0, -2441.9749,754.0135,35.1786))
{
SetPlayerPos(playerid, -25.1326,-139.0670,1003.5469);
GameTextForPlayer(playerid, "~w~24-7",5000,3);
SetPlayerInterior(playerid,16);
PlayerInfo[playerid][pInt] = 16;
}
//PD Elevator
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1524.5724,-1677.8043,6.2188))
{
SetPlayerPos(playerid, 244.0099,66.4152,1003.6406);
GameTextForPlayer(playerid, "~w~Police Department",5000,1);
SetPlayerInterior(playerid,6);
SetPlayerFacingAngle(playerid, 270);
PlayerInfo[playerid][pInt] = 6;
}
//PD Elevator
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1557.7257,-1675.2711,28.3955))
{
SetPlayerPos(playerid, 244.0099,66.4152,1003.6406);
GameTextForPlayer(playerid, "~w~Police Department",5000,1);
SetPlayerInterior(playerid,6);
SetPlayerFacingAngle(playerid, 270);
PlayerInfo[playerid][pInt] = 6;
}
//Jim's sticky ring
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1038.0298,-1339.9967,13.7361))
{
OnPlayerEnterFood(playerid, 4);
}
//City hall
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1481.0206,-1771.1138,18.7958))
{
SetPlayerPos(playerid, 386.2978,173.8582,1008.3828);
GameTextForPlayer(playerid, "~w~City Hall",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
//FBI Enter
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 2340.4229,2458.1392,14.9688))
{
if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
SetPlayerPos(playerid, 288.7287,168.5377,1007.1719);
GameTextForPlayer(playerid, "~w~FBI Department",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
}
//Fireman/Paramedic enter
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1607.6212,1815.6366,10.8203))
{
if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SetPlayerPos(playerid, 288.7287,168.5377,1007.1719);
GameTextForPlayer(playerid, "~w~FBI Department",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
}
//abc studio
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1036.6597,1014.8240,11.0000))
{
if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
{
SetPlayerPos(playerid, 366.5081,193.1942,1008.3828);
GameTextForPlayer(playerid, "~w~ABC studio",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
}
//Taxi cab company
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 938.1230,1733.2122,8.8516))
{
if (PlayerInfo[playerid][pMember] ==10 || PlayerInfo[playerid][pLeader] == 10)
{
SetPlayerPos(playerid, 371.8502,182.0368,1014.1875);
GameTextForPlayer(playerid, "~w~Taxi Cab Company",5000,1);
SetPlayerInterior(playerid,3);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 3;
}
}
return 1;
}
//---------------------------Exit beta----------------------------------------------------
if(strcmp(cmd, "/exi", true) == 0)
{
//Exit police departament
if(IsPlayerInRangeOfPoint(playerid, 7.0, 246.5325,62.4251,1003.6406))
{
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1552.3231,-1674.6780,16.1953);
PlayerInfo[playerid][pInt] = 0;
}
//24/7 near PD Exit
else if(IsPlayerInRangeOfPoint(playerid, 7.0, -27.3919,-58.2529,1003.5469))
{
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1352.3282,-1755.4298,13.3542);
PlayerInfo[playerid][pInt] = 0;
}
//24/7 near 8-ball exit
else if(IsPlayerInRangeOfPoint(playerid, 7.0, -30.9299,-92.0114,1003.5469))
{
if(GetPlayerVirtualWorld(playerid) == 0)
{
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1831.5413,-1843.3785,13.5781);
PlayerInfo[playerid][pInt] = 0;
}
else if(GetPlayerVirtualWorld(playerid) == 2)
{
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pVirWorld] = 0;
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1315.7769,-901.4099,39.5781);
PlayerInfo[playerid][pInt] = 0;
}
}
//Alhambra Exit
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 493.4393,-24.9169,1000.6719))
{
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1834.4000,-1681.7500,13.4331);
PlayerInfo[playerid][pInt] = 0;
}
//Some teleports are fucked up but they are working
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 501.8708,-67.5820,998.7578))
{
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,2307.0027,-1645.2213,14.6882);
OnPlayerExitFood(playerid); // ?
PlayerInfo[playerid][pInt] = 0;
}
//Some teleports are fucked up but they are working
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 207.7662,-111.2663,1005.1328))
{
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,2245.2778,-1661.1738,15.4690);
OnPlayerExitFood(playerid); // ?
PlayerInfo[playerid][pInt] = 0;
}
//Some teleports are fucked up but they are working
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 772.3594,-5.5157,1000.7286))
{
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,2225.6699,-1725.3134,13.5586);
PlayerInfo[playerid][pInt] = 0;
OnPlayerExitFood(playerid); // ?
}
//Some teleports are fucked up but they are working
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 772.3594,-5.5157,1000.7286))
{
if(GetPlayerVirtualWorld(playerid) == 0)
{
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,2423.8145,-1510.2896,23.9922);
PlayerInfo[playerid][pInt] = 0;
}//cluckin bell near 10 green
else if(GetPlayerVirtualWorld(playerid) == 2)
{
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,2398.5508,-1894.6324,13.3828);
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pVirWorld] = 0;
PlayerInfo[playerid][pInt] = 0;
}//cluckin bell marina
else if(GetPlayerVirtualWorld(playerid) == 1)
{
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pVirWorld] = 0;
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,923.8998,-1352.9694,13.3768);
PlayerInfo[playerid][pInt] = 0;
}
OnPlayerExitFood(playerid); // ?
return 1;
}
//Some teleports are fucked up but they are working
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 362.8835,-75.1787,1001.5078))
{
if(GetPlayerVirtualWorld(playerid) == 0)
{
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,815.5034,-1616.7700,13.7521);
PlayerInfo[playerid][pInt] = 0;
}
else if(GetPlayerVirtualWorld(playerid) == 1)// vinewood burger shot
{
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pVirWorld] = 0;
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1200.8680,-921.9525,43.0104);
PlayerInfo[playerid][pInt] = 0;
}
OnPlayerExitFood(playerid);
return 1;
}
//Some teleports are fucked up but they are working
else if(IsPlayerInRangeOfPoint(playerid, 7.0, -28.0241,-31.7674,1003.5573))
{
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,994.6481,-920.7285,42.1797);
PlayerInfo[playerid][pInt] = 0;
OnPlayerExitFood(playerid); // ?
}
//Some teleports are fucked up but they are working
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 227.5614,-7.3146,1002.2109))
{
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pVirWorld] = 0;
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,454.5949,-1500.6449,30.8821);
OnPlayerExitFood(playerid); // ?
PlayerInfo[playerid][pInt] = 0;
}
//Some teleports are fucked up but they are working
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 372.3847,-133.5248,1001.4922))
{
if(GetPlayerVirtualWorld(playerid) == 2)
{
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,203.2209,-204.6613,1.5781);
OnPlayerExitFood(playerid); // ?
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pVirWorld] = 0;
}
else
{
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,2099.9783,-1806.4928,13.5547);
OnPlayerExitFood(playerid); // ?
PlayerInfo[playerid][pInt] = 0;
}
}
//FBI Exit
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 288.7287,167.0377,1007.1719))
{
SetPlayerPos(playerid, 2340.6960,2452.7791,14.9742);
GameTextForPlayer(playerid, "~w~Las Ventures",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
}
//FBI Exit 1
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 238.3001,138.9406,1003.0234))
{
SetPlayerPos(playerid, 2340.6960,2452.7791,14.9742);
GameTextForPlayer(playerid, "~w~Las Ventures",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
}
//Jim's sticky ring
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 377.1724,-193.3045,1000.6328))
{
SetPlayerPos(playerid, 1038.5148,-1338.0944,13.7266);
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
OnPlayerExitFood(playerid);
}
//City hall
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 390.0630,173.5741,1008.3828))
{
SetPlayerPos(playerid, 1481.0206,-1769.5138,18.7958);
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
}
//fireman/paramedic
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1172.1730,-1333.9272,1006.4965))
{
SetPlayerPos(playerid, 1607.7527,1817.8613,10.8203);
GameTextForPlayer(playerid, "~w~Las Ventures",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 270);
PlayerInfo[playerid][pInt] = 0;
}
//abc studio
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1036.6597,1014.8240,11.0000))
{
SetPlayerPos(playerid, 1043.1785,1022.6573,11.0000);
GameTextForPlayer(playerid, "~w~Las Venturas",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
}
//Taxi cab company
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 371.4523,180.2195,1014.1875))
{
SetPlayerPos(playerid, 940.3035,1733.1425,8.8516);
GameTextForPlayer(playerid, "~w~Las Ventures",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
}
//Next to PD building
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1570.3828,-1333.8882,16.4844))
{
SetPlayerPos(playerid, 1545.0068,-1366.5094,327.2868);
GameTextForPlayer(playerid, "~w~Roof of News building",5000,1);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
return 1;
}[/pawn]
Ce pot face?
Multumesc:)
[GF/RP] Probleme masini gm
in Arhivă probleme
Posted
Am scos si mia dat erori