[HELP]How can i make a 24-7 /buy showplayerdialog? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]How can i make a 24-7 /buy showplayerdialog? (
/showthread.php?tid=133604)
[HELP]How can i make a 24-7 /buy showplayerdialog? -
GanGXt3r_Ali - 13.03.2010
PLease please help me
pawn Код:
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(219) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(231) : warning 217: loose indentation
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(231) : error 017: undefined symbol "cmd"
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(235) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(237) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(237) : warning 215: expression has no effect
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(237) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(237) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(237) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
Re: [HELP]How can i make a 24-7 /buy showplayerdialog? -
Fre$hKidd - 13.03.2010
Код:
if(IsPlayerInRangeOfPoint(playerid, Radius, X, Y, Z))
Change that with
PlayerToPoint
Explane
Код:
if (strcmp("/goup", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 2, 2917.890625, -2017.454346, 0.299380))
{
SendClientMessage(playerid, 0xFFFFFF, "INFO: You're going up Now!");
SetPlayerPos(playerid,2917.7495,-2017.4622,1.3852);
SetPlayerFacingAngle(playerid,190.0524);
SetPlayerInterior(playerid,0);
and i suggest that you make the /buy to Simple ICON
Re: [HELP]How can i make a 24-7 /buy showplayerdialog? -
Deat_Itself - 13.03.2010
pawn Код:
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(219) : error 004: function "PlayerToPoint" is not implemented
you havent PlayerToPoint in your script so i suggest to use IsPlayerInRangeOfPoint
pawn Код:
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(231) : warning 217: loose indentation
your script isnt in sequence so thats why its giving you this bug. Arrange your line with others or just put
Код:
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(231) : error 017: undefined symbol "cmd"
Код:
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(237) : error 001: expected token: ";", but found ")"
you missed
; on line no 237,after
)
Fixing that all will fix your other bugs.