Help, something silly? - type mismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help, something silly? - type mismatch (
/showthread.php?tid=234526)
Help, something silly? - type mismatch -
BurgessGaming - 03.03.2011
This is the Error
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\gamemodes\GOING GOOD 2.pwn(394) : error 035: argument type mismatch (argument 2)
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\gamemodes\GOING GOOD 2.pwn(399) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
This is the script, i cant se nothing? is it just something silly?
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Binco){
GameTextForPlayer(playerid, COLOR_YELLOW, "/enter to enter the building");
}
if(pickupid == CarRent){
GameTextForPlayer(playerid, COLOR_YELLOW, "/rentcar to rent out a car for $500");
}
return 1;
}
Re: Help, something silly? - type mismatch -
Antonio [G-RP] - 03.03.2011
Check the correct parameters for GameTextForPlayer, you're missing time and style.
Re: Help, something silly? - type mismatch -
BurgessGaming - 03.03.2011
Quote:
Originally Posted by Antonio [G-RP]
Check the correct parameters for GameTextForPlayer, you're missing time and style.
|
FIXED ! thanks i changed that at last min from send client message.
thanks alot!
Re: Help, something silly? - type mismatch -
Antonio [G-RP] - 03.03.2011
No problem bud.