Warning
#1

pawn Код:
if(IsPlayerInDynamicRaceCP(playerid,  CP[0])) return CP[1] = CreateDynamicRaceCP(0, 1608.9316, 4577.7095, 56.3715, 1608.9316, 4577.7095, 56.3715, 3.5, 2, 0, -1, 250), DestroyDynamicRaceCPs(CP[0]);
pawn Код:
warning 202: number of arguments does not match definition
Reply
#2

All I can see is that the last parameter (stream distance) should be a float. Just change it to 250.0.
Reply
#3

Quote:
Originally Posted by MP2
Посмотреть сообщение
All I can see is that the last parameter (stream distance) should be a float. Just change it to 250.0.
Not working .. : \
And the warning did not stems from CreateDynamicRaceCP
It results from from DestroyDynamicRaceCP
Reply
#4

Well I can see your using a function labelled 'DestroyDynamicRaceCP>>s<<'?

Why is it plural, if you want to destroy all of them use DestroyAllDynamicRaceCPs();
Reply
#5

Quote:
Originally Posted by Boooth
Посмотреть сообщение
Well I can see your using a function labelled 'DestroyDynamicRaceCP>>s<<'?

Why is it plural, if you want to destroy all of them use DestroyAllDynamicRaceCPs();
i don't want to destroy all Checkpoints ..
i want destroy the CP[0] but that give me warning ...
and i don't understand what you mean "can see your using a function labelled 'DestroyDynamicRaceCP>>s<<'"
Reply
#6

Use DestroyDynamicRaceCP not DestroyDynamicRaceCPs
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)