Help, something silly? - type mismatch
#1

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;
}
Reply
#2

Check the correct parameters for GameTextForPlayer, you're missing time and style.
Reply
#3

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!
Reply
#4

No problem bud.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)