Originally Posted by Juanxz
Error:
Код:
gamemodes\SP.pwn(234) : error 017: undefined symbol "Wints_Init" Код:
public OnGameModeInit() { for (new i = 0; i < MAX_PLAYERS; i++) { // Check if player is connected and not a NPC if (IsPlayerConnected(i) && !IsPlayerNPC(i)) { // Set the default speed boost for each player SpeedBoostMultiplier[i] = 1.5; } } Msg = 0; SetTimer("GlobalAnnouncement",100000,true); Wints_Init(); SetTimer("UpdateCmdFreq",2000,1); StartSystem(); SetTimer("AutoR", 1000, 1); UsePlayerPedAnims(); EnableStuntBonusForAll(true); AllowInteriorWeapons(true); SetGameModeText("Stunt/RP/Free Roam/DM"); for(new i = 0; i < 299; i++) { |
Originally Posted by Juanxz
I moved the include into pawno/includes was I supposed to copy the insides and paste it in the gamemode?
|
#include <wints>
Originally Posted by Chuck_Taylor
Quote:
Код:
#include <wints> |
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(140) : error 021: symbol already defined: "floatsqroot" C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(141) : error 010: invalid function or declaration C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(2337) : warning 219: local variable "vx" shadows a variable at a preceding level C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(2337) : warning 219: local variable "vy" shadows a variable at a preceding level C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(2337) : warning 219: local variable "vz" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Originally Posted by Chuck_Taylor
I replaced your vehicle id with the id 594 which is very small and now I can use it almost everywhere
|
Originally Posted by Juanxz
Ok my current problem is that I don't have "OnPlayerInteriorChange" in my gamemode. I added "#include <wints>" and also...when I compiled it before putting in the last line "Wints_OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid); put into OnPlayerInteriorChange public" I get
Код:
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(140) : error 021: symbol already defined: "floatsqroot" C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\pawno\include\cps.inc(141) : error 010: invalid function or declaration C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(2337) : warning 219: local variable "vx" shadows a variable at a preceding level C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(2337) : warning 219: local variable "vy" shadows a variable at a preceding level C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(2337) : warning 219: local variable "vz" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { Wints_OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid); return 1; }
Originally Posted by Norn
I like it but why not just use keys or a timer that checks the players location?
|
Originally Posted by Juanxz
Oh ok thanks
![]() |