Valami gond van:S
itt vannak a hibák:
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(235) : warning 219: local variable \"pName\" shadows a variable at a preceding level
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(247) : warning 219: local variable \"pName\" shadows a variable at a preceding level
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(272) : error 017: undefined symbol \"strtok\"
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(272) : error 033: array must be indexed (variable \"cmd\")
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(287) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(303) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(309) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(315) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(330) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(339) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(352) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(362) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(372) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(379) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(386) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(393) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(409) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(425) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(432) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(438) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(449) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(453) : error 004: function \"SendPlayerFormattedText\" is not implemented
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(454) : error 004: function \"SendPlayerFormattedText\" is not implemented
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(455) : error 004: function \"SendPlayerFormattedText\" is not implemented
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(456) : error 004: function \"SendPlayerFormattedText\" is not implemented
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(457) : error 004: function \"SendPlayerFormattedText\" is not implemented
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(458) : error 079: inconsistent return types (array & non-array)
C:\\Program Files\\Rockstar Games\\stunt_mod.pwn(463) : error 079: inconsistent return types (array & non-array)
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
erre a telére igy:
if(strcmp(cmd, \"/jump\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,1532.2787,-1357.2721,329.4535);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,1532.2787,-1357.2721,329.4535);
GivePlayerWeapon(playerid, 46, 200);
format(string, sizeof(string), \"%s A Los Santosi Ugró torony-ra teleportált.(/jump)\", pName);
SendClientMessageToAll(COLOR_YELLOW, string);
return 1;
}
Mi lehet a baj?:S