x_x....unable to load FS
#1

pawn Код:
#include <a_samp>

#pragma tabsize 0

#define COLOR_MYCOLOR 0xF6F600AA

#define COLOR_DBLUE 0x2641FEAA

#define COLOR_RED 0x1BBB91AA

#define COLOR_GREY 0xAFAFAFAA

#define COLOR_LIGHTBLUE 0x33CCFFAA

#include <Streamer>



new TutP;
public OnGameModeInit()
{
TutP = CreateDynamicPickup(1247, 23, 3492.2024,-887.9794,44.5579, 3);//
return 1;}

forward Tut1(playerid);
public Tut1(playerid)
{
SetCameraBehindPlayer(playerid);
  SendClientMessage(playerid, COLOR_DBLUE, "...");
return 1;
}


public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == TutP)
{
 SetPlayerCameraLookAt(playerid,3492.2024,-887.9794,44.5579);
   SetPlayerCameraPos(playerid,3488.6433,-890.0203,47.1753);
  SendClientMessage(playerid, COLOR_DBLUE, "...!");
SetTimer("Tut1", 5000, 0);
    }
  }
no errors....just wont load...any suggestions?

EDIT: btw...making a tut when u pickup a marker..
Reply
#2

Change OnGameModeInit to OnFilterScriptInit.
Reply
#3

Quote:
Originally Posted by Marcel
Change OnGameModeInit to OnFilterScriptInit.
it works...thanks, but my pickup is messed up ....cant pick it up xD
Reply
#4

Change OnPlayerPickUpPickup to OnPlayerPickUpDynamicPickup, that's because you're using a streamer.
Reply
#5

Oh, Duh!!! how could i 4get that

Quote:

C:\Users\Owner\Desktop\samp03asvr_win32\pawno\tut. pwn(34) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickUpDynamicPickup")

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)