Can someone
#1

Can someone script me a /park command for this fs:

http://forum.sa-mp.com/index.php?topic=54114.0

Dont redirect me to Script Request Topic,
As i already have several posts in there,
Its been there for 2/3 days, And as of yet,
Have not got a code and/or got anyone telling me they'd make one
Reply
#2

i feel like helping today lol :P well lets try im a download it
Reply
#3

Quote:
Originally Posted by [GM
LeGenDy ]
i feel like helping today lol :P well lets try im a download it
Thanks
Reply
#4

Код:
	if(strcmp(cmd, "/park",true) == 0)
	{
    if(IsPlayerConnected(playerid))
    {
		  if(PlayerInfo[playerid][pCarKey] >= 1)
		  {
				new Float:pX,Float:pY,Float:pZ;
	  		GetPlayerPos(playerid,pX,pY,pZ);
	  		new Float:pAngle;
	  		GetPlayerFacingAngle(playerid,pAngle);
				PlayerInfo[playerid][cLocationx] = Float:pX; 
				PlayerInfo[playerid][cLocationy] = Float:pY; 
				PlayerInfo[playerid][cLocationz] = Float:pZ; 
				PlayerInfo[playerid][cAngle] = Float:pAngle; 
				SendClientMessage(playerid,COLOR_WHITE, " You Have Parked Your Car In this place ");
				return 1;
			}
		}
		return 1;
	}
try this and tell me if it works didnt test it xD
Reply
#5

pawn Код:
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(209) : warning 213: tag mismatch
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(209) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(210) : warning 213: tag mismatch
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(210) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(211) : warning 213: tag mismatch
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(211) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(212) : warning 213: tag mismatch
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(212) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Torran\AppData\Local\Temp\Rar$DI00.953\[FS]CarOwnership.pwn(446) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
Reply
#6

mhm ill check that again and make it work i have time to test now give me some minutes
Reply
#7

Quote:
Originally Posted by [GM
LeGenDy ]
mhm ill check that again and make it work i have time to test now give me some minutes
Okie Dokie
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)