SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 30/03/2010, 04:09 PM   #11
Manuel20
Little Clucker
 
Join Date: Jan 2010
Posts: 16
Reputation: 0
Default Re: GameTextForPlayer doesn`t Work

so i have now:

ongamemodin:

Code:
SetTimer("GateGameText",500,false);

public onplayerconnect:

Code:
SetTimerEx("GateGameText",500,false, "i", playerid);
and:

Code:
forward GateGameText(playerid);
public GateGameText(playerid)
{
	if(PlayerToPoint(15.0, playerid,2720.827,-2414.449,13.46094))
  {
		GameTextForPlayer(playerid,"~b~Command: /gate",2000,3);
  }
	return 1;
}
no error but the gametext not on display i sea nothing -.- what is wrong
Manuel20 is offline  
Old 30/03/2010, 04:10 PM   #12
[03]Garsino
Guest
 
Posts: n/a
Default Re: GameTextForPlayer doesn`t Work

You dont need the timer inside OnGameModeInit btw
 
Old 30/03/2010, 04:29 PM   #13
Manuel20
Little Clucker
 
Join Date: Jan 2010
Posts: 16
Reputation: 0
Default Re: GameTextForPlayer doesn`t Work

okay i have deleted in ongamemodint,

and... nothing the gametext not comming -.- what i make wrong ?
Manuel20 is offline  
Old 30/03/2010, 04:31 PM   #14
dice7
High-roller
 
Join Date: Apr 2009
Location: Slovenia
Posts: 2,200
Reputation: 22
Default Re: GameTextForPlayer doesn`t Work

The third argument in the timer needs to be true for it to make it repeative
dice7 is offline  
Old 30/03/2010, 04:32 PM   #15
[03]Garsino
Guest
 
Posts: n/a
Default Re: GameTextForPlayer doesn`t Work

Quote:
Originally Posted by dice7
The third argument in the timer needs to be true for it to make it repeative
Ooops, yeah, didn't notice that
 
Old 30/03/2010, 06:03 PM   #16
Manuel20
Little Clucker
 
Join Date: Jan 2010
Posts: 16
Reputation: 0
Default Re: GameTextForPlayer doesn`t Work

sry but what must i change ^^
Manuel20 is offline  
Old 30/03/2010, 07:10 PM   #17
Manuel20
Little Clucker
 
Join Date: Jan 2010
Posts: 16
Reputation: 0
Default Re: GameTextForPlayer doesn`t Work

here i have now

Code:
public OnPlayerConnect(playerid)
{
  SetTimerEx("GateGameText",500,true, "i", playerid);

an nothing work no gametext on this position
Manuel20 is offline  
Old 02/04/2010, 03:13 PM   #18
Drake1994
Big Clucker
 
Drake1994's Avatar
 
Join Date: Jun 2008
Posts: 111
Reputation: 54
Default Re: GameTextForPlayer doesn`t Work

because u can see this text only for 0.5 sec change the Timer to 5000
Drake1994 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
One stupid error and my Admin Script doesn`t work BaFTa Help Archive 3 30/05/2010 04:33 PM
Script doesn´t work on Public Server Ice-J44 Server Support 6 05/03/2010 01:56 PM
Gta doesn`t work.PLS HELP!!! tilenko Client Support 1 11/06/2009 11:24 AM
OnPlayerDeath doesn´t work! Ciona Help Archive 5 19/05/2009 07:11 PM


All times are GMT. The time now is 07:56 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.