House pickups
#1

Is there dynamic pickup system ?
I want to create house pickups, just to stay there (without any propose)
Reply
#2

Erm, check my sig :d
Reply
#3

This fucked everything ... I puted it in my server and I got 5 errors, I deleted it and errors are still here
Код:
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\Testovo\pawno\include\streamer.inc(149) : error 017: undefined symbol "INVALID_PLAYER_ID"
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\Testovo\pawno\include\streamer.inc(202) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\Testovo\pawno\include\streamer.inc(218) : error 017: undefined symbol "CallLocalFunction"
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\Testovo\pawno\include\streamer.inc(218) : warning 215: expression has no effect
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\Testovo\pawno\include\streamer.inc(218) : warning 215: expression has no effect
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\Testovo\pawno\include\streamer.inc(218) : error 001: expected token: ";", but found ")"
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\Testovo\pawno\include\streamer.inc(218) : error 029: invalid expression, assumed zero
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\Testovo\pawno\include\streamer.inc(218) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#4

show us your error lines
Reply
#5

Код:
   CreateDynamicObject(983,192.82991028,-155.74443054,1.26167965,0.00000000,0.00000000,359.98901367); //object(fenceshit3) (9)
   CreateDynamicObject(983,192.86581421,-162.20642090,1.26167965,0.00000000,0.00000000,359.98901367); //object(fenceshit3) (10)
   CreateDynamicObject(2934,116.74049377,-262.74414062,2.00000000,0.00000000,0.00000000,324.00000000); //object(kmb_container_red) (1)
   CreateDynamicObject(2934,114.21224976,-261.05322266,2.00000000,0.00000000,0.00000000,323.99780273); //object(kmb_container_red) (2)
   CreateDynamicObject(2934,89.16914368,-242.42189026,4.90000010,0.00000000,0.00000000,323.99780273); //object(kmb_container_red) (3)
   CreateDynamicObject(2934,84.30905151,-239.30784607,2.00000000,0.00000000,0.00000000,323.99780273); //object(kmb_container_red) (4)
   CreateDynamicObject(2934,86.60222626,-240.84529114,2.00000000,0.00000000,0.00000000,323.99780273); //object(kmb_container_red) (5)
   CreateDynamicObject(2934,89.11460114,-242.50224304,2.00000000,0.00000000,0.00000000,323.99780273); //object(kmb_container_red) (6)
   CreateDynamicObject(2934,111.76074219,-259.32226562,2.00000000,0.00000000,0.00000000,323.99780273); //object(kmb_container_red) (7)
   CreateDynamicObject(2934,111.69238281,-259.24511719,4.90000010,0.00000000,0.00000000,323.99780273); //object(kmb_container_red) (8)

/*
Objects converted: 82
Vehicles converted: 10
Vehicle models found: 6
----------------------
In the time this conversion took to finish light could have travelled around the world 0.77 times!
*/


	return 1;
}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 203.6454,2631.4878,21.4004);
	SetPlayerFacingAngle(playerid, 189.5439);
	SetPlayerCameraPos(playerid, 204.9863,2626.0415,20.6589);
	SetPlayerCameraLookAt(playerid, 203.6454,2631.4878,21.4004);
	return 1;
}

public OnPlayerConnect(playerid)
{
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	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[])
{
    new string[126], name[28];
	GetPlayerName(playerid, name, 128);
	format(string, sizeof(string), "%s says: %s", name, text[0]);
	ProxDetector(35, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE); // Change COLOR[1-5] to your colors            return 0;
	return 0;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
	{
    if(!cmdtext[3])return SendClientMessage(playerid, COLOR_GREY, "USAGE: /me [action]");
    new str[128];
    GetPlayerName(playerid, str, sizeof(str));
    format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
    ProxDetector(30.0, playerid, str, COLOR_PINK,COLOR_PINK,COLOR_PINK,COLOR_PINK,COLOR_PINK);
    return 1;
	}
    if(!strcmp(cmdtext, "/do", true, 3)) // 3 is the length of /do
	{
    if(!cmdtext[3])return SendClientMessage(playerid, COLOR_GREY, "USAGE: /do [text]");
    new str[128];
    GetPlayerName(playerid, str, sizeof(str));
    format(str, sizeof(str), "* %s (( %s ))", cmdtext[4], str);
    ProxDetector(30.0, playerid, str, COLOR_PINK,COLOR_PINK,COLOR_PINK,COLOR_PINK,COLOR_PINK);
    return 1;
	}
	return 1;
	
}
LINE 218:
Код:
   if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
LINE 149:
Код:
CreateDynamicObject(2934,111.69238281,-259.24511719,4.90000010,0.00000000,0.00000000,323.99780273); //object(kmb_container_red) (8)
Reply
#6

what are you using? gamemode or fitlerscript
Reply
#7

This is my gamemode, but I put that FS and this fucked everything
Reply
#8

come thing is really missing

This should not come
warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
error 017: undefined symbol "INVALID_PLAYER_ID"

because it's already in sa-mp
Reply
#9

Okay, I fixed it, but I have other problem
https://sampforum.blast.hk/showthread.php?tid=219517&page=3
Please help ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)