[HELP]How can i make a 24-7 /buy showplayerdialog?
#1

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.
Reply
#2

Код:
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
Reply
#3

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
Код:
#pragma tabsize 0
Код:
C:\DOCUME~1\Imr@n\Desktop\SA-MPS~1\FILTER~1\club.pwn(231) : error 017: undefined symbol "cmd"
Код:
new cmd[256];
Код:
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)