27.12.2013, 08:18
D:\New Server\raven\gamemodes\GGRP.pwn(732) : warning 215: expression has no effect
D:\New Server\raven\gamemodes\GGRP.pwn(4134) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
here are the script that have a warning 215
And here are the script that have warning 235
D:\New Server\raven\gamemodes\GGRP.pwn(4134) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
here are the script that have a warning 215
Code:
PlayerText:CreateModelPreviewTextDraw(playerid, modelindex, Float:Xpos, Float:Ypos, Float:width, Float:height) { new PlayerText:txtPlayerSprite = CreatePlayerTextDraw(playerid, Xpos, Ypos, ""); // it has to be set with SetText later PlayerTextDrawColor(playerid, txtPlayerSprite, 0xFFFFFFFF); PlayerTextDrawBackgroundColor(playerid, txtPlayerSprite, 0x88888899); PlayerTextDrawTextSize(playerid, txtPlayerSprite, width, height); // Text size is the Width:Height PlayerTextDrawSetPreviewModel(playerid, txtPlayerSprite, modelindex); PlayerTextDrawSetSelectable(playerid, txtPlayerSprite, 1); PlayerTextDrawShow(playerid,txtPlayerSprite); return txtPlayerSprite; }
Code:
public Audio_OnSetPack(audiopack[]) { foreach(Player, i) { Audio_TransferPack(i); } return 1; }