argument type mismatch (argument 1)
#1

PHP Code:
stock CreateRobberyCheckpointszName32 ], iRobValueFloatfXFloatfYFloatfZFloatrotationworldid )
{
    new 
FloatoffsetXFloatoffsetY;
    new 
rID Iter_FreeRobberyCount );
    if ( 
rID != ITER_NONE )
    {
// goes on 
PHP Code:
        formatg_businessDataiBusiness ] [ E_NAME ], 32"%s"szBusiness );
//later
        
new robberyid CreateRobberyCheckpointszBusiness0g_businessInteriorDataiType ] [ E_SAFE_X ], g_businessInteriorDataiType ] [ E_SAFE_Y ], g_businessInteriorDataiType ] [ E_SAFE_Z ], g_businessInteriorDataiType ] [ E_SAFE_ROTATION ], g_businessDataiBusiness ] [ E_WORLD ] ); 
What did I do wrong here?
Reply
#2

CreateRobberyCheckpoint uses "szName[ 32 ]".
CreateBusiness uses "const szName[ 32 ]", that's what is up

You can safely remove the constant declaration in the CreateBusiness() function.
Reply
#3

Quote:
Originally Posted by Kwarde
View Post
CreateRobberyCheckpoint uses "szName[ 32 ]".
CreateBusiness uses "const szName[ 32 ]", that's what is up

You can safely remove the constant declaration in the CreateBusiness() function.
many thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)