Little help...
#1

Hi

I'm new here and so as on pawno scripting...

I working on a /save and /load position script to my server and now I've reached the limit of what I can do so I want some help

Код:
 if (strcmp("/s", cmdtext, true, 10) == 0)
{
new Z[MAX_PLAYERS];
GetVehicleZAngle(playerid,Z[playerid]);
GetPlayerPos(playerid, ppx[playerid], ppy[playerid], ppz[playerid]);
SendClientMessage (playerid, COLOR_YELLOW, "Position Saved!");
return 1;
}
 if (strcmp("/l", cmdtext, true, 10) == 0)
 {
new Z[MAX_PLAYERS];
if(IsPlayerInAnyVehicle(playerid))
{
SetVehicleZAngle(playerid,Z[playerid]);
SetVehiclePos(GetPlayerVehicleID(playerid), ppx[playerid], ppy[playerid], ppz[playerid]);
}
else
{
SetPlayerPos(playerid, ppx[playerid], ppy[playerid], ppz[playerid]);
}
SendClientMessage (playerid, COLOR_YELLOW, "You have been teleported.");
return 1;
}
The problem is GetVehicleZAngle(playerid,Z[playerid]); I think cos it says like this in the compiler about it:

Код:
C:\Program\ROCKST~1\GTASAN~1\samp\GAMEMO~1\SeRVeR.pwn(1018) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Can anyone help me =) ?
Reply


Messages In This Thread
Little help... - by Dr4cK - 24.04.2009, 20:28
Re: Little help... - by Joe Staff - 24.04.2009, 20:32
Re: Little help... - by Dr4cK - 24.04.2009, 20:53
Re: Little help... - by OmeRinG - 24.04.2009, 21:59
Re: Little help... - by Dr4cK - 24.04.2009, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)